diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-12-06 14:45:37 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-07 15:19:39 -0500 |
commit | 0052d812599fb0327792b6c3f4257b26dcc13239 (patch) | |
tree | a53037a4a3cb5f2b4a686ebf07eebe63b0bc7681 | |
parent | 4f17c48e3902c823e4af68d2de9546f5b707533d (diff) |
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: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 3 | ||||
-rw-r--r-- | net/wireless/Kconfig | 7 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index 3d849122b5b1..33f7327d0451 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -263,8 +263,7 @@ Who: Ravikiran Thirumalai <kiran@scalex86.org> | |||
263 | 263 | ||
264 | What: Code that is now under CONFIG_WIRELESS_EXT_SYSFS | 264 | What: Code that is now under CONFIG_WIRELESS_EXT_SYSFS |
265 | (in net/core/net-sysfs.c) | 265 | (in net/core/net-sysfs.c) |
266 | When: After the only user (hal) has seen a release with the patches | 266 | When: 3.5 |
267 | for enough time, probably some time in 2010. | ||
268 | Why: Over 1K .text/.data size reduction, data is available in other | 267 | Why: Over 1K .text/.data size reduction, data is available in other |
269 | ways (ioctls) | 268 | ways (ioctls) |
270 | Who: Johannes Berg <johannes@sipsolutions.net> | 269 | Who: Johannes Berg <johannes@sipsolutions.net> |
diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig index 1f1ef70f34f2..2e4444fedbe0 100644 --- a/net/wireless/Kconfig +++ b/net/wireless/Kconfig | |||
@@ -121,15 +121,16 @@ config CFG80211_WEXT | |||
121 | 121 | ||
122 | config WIRELESS_EXT_SYSFS | 122 | config WIRELESS_EXT_SYSFS |
123 | bool "Wireless extensions sysfs files" | 123 | bool "Wireless extensions sysfs files" |
124 | default y | ||
125 | depends on WEXT_CORE && SYSFS | 124 | depends on WEXT_CORE && SYSFS |
126 | help | 125 | help |
127 | This option enables the deprecated wireless statistics | 126 | This option enables the deprecated wireless statistics |
128 | files in /sys/class/net/*/wireless/. The same information | 127 | files in /sys/class/net/*/wireless/. The same information |
129 | is available via the ioctls as well. | 128 | is available via the ioctls as well. |
130 | 129 | ||
131 | Say Y if you have programs using it, like old versions of | 130 | Say N. If you know you have ancient tools requiring it, |
132 | hal. | 131 | like very old versions of hal (prior to 0.5.12 release), |
132 | say Y and update the tools as soon as possible as this | ||
133 | option will be removed soon. | ||
133 | 134 | ||
134 | config LIB80211 | 135 | config LIB80211 |
135 | tristate "Common routines for IEEE802.11 drivers" | 136 | tristate "Common routines for IEEE802.11 drivers" |