Commit 0052d812 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville

wireless: disable wext sysfs by default

This code has been on the list to remove for a long
time, so disable it by default, add a warning to its
Kconfig, and schedule it for removal in 3.5.

The only known dependency, hal, has not required it
since its 0.5.12 release, which was in early 2009
and hal has since been deprecated completely.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 4f17c48e
...@@ -263,8 +263,7 @@ Who: Ravikiran Thirumalai <kiran@scalex86.org> ...@@ -263,8 +263,7 @@ Who: Ravikiran Thirumalai <kiran@scalex86.org>
What: Code that is now under CONFIG_WIRELESS_EXT_SYSFS What: Code that is now under CONFIG_WIRELESS_EXT_SYSFS
(in net/core/net-sysfs.c) (in net/core/net-sysfs.c)
When: After the only user (hal) has seen a release with the patches When: 3.5
for enough time, probably some time in 2010.
Why: Over 1K .text/.data size reduction, data is available in other Why: Over 1K .text/.data size reduction, data is available in other
ways (ioctls) ways (ioctls)
Who: Johannes Berg <johannes@sipsolutions.net> Who: Johannes Berg <johannes@sipsolutions.net>
......
...@@ -121,15 +121,16 @@ config CFG80211_WEXT ...@@ -121,15 +121,16 @@ config CFG80211_WEXT
config WIRELESS_EXT_SYSFS config WIRELESS_EXT_SYSFS
bool "Wireless extensions sysfs files" bool "Wireless extensions sysfs files"
default y
depends on WEXT_CORE && SYSFS depends on WEXT_CORE && SYSFS
help help
This option enables the deprecated wireless statistics This option enables the deprecated wireless statistics
files in /sys/class/net/*/wireless/. The same information files in /sys/class/net/*/wireless/. The same information
is available via the ioctls as well. is available via the ioctls as well.
Say Y if you have programs using it, like old versions of Say N. If you know you have ancient tools requiring it,
hal. like very old versions of hal (prior to 0.5.12 release),
say Y and update the tools as soon as possible as this
option will be removed soon.
config LIB80211 config LIB80211
tristate "Common routines for IEEE802.11 drivers" tristate "Common routines for IEEE802.11 drivers"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment