Re: removal of sysfs wext extension broke on F16

From: Johannes Berg
Date: Tue Nov 13 2012 - 03:26:30 EST


On Tue, 2012-11-13 at 07:52 +1000, Dave Airlie wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=875328
>
> blamed for breaking wireless.
> https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=35b2a113cb0298d4f9a1263338b456094a414057
>
> apparantly the initscripts used the sysfs directory existance as a
> check, so maybe either back this out or bring back just the subdirs.

OK. I really thought nobody was using it, but we can of course revert it
for Fedora's benefit, it's optional anyway.

FWIW, for most drivers you could check if the sys/class/net/$1/phy80211
symlink exists, but that doesn't work for older wext-only drivers (or
say the crap Broadcom binary STA driver.)

Should I revert it and send it in my next pull request?

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/