|author||Johannes Berg <email@example.com>||2008-07-10 11:16:47 +0200|
|committer||John W. Linville <firstname.lastname@example.org>||2008-07-14 14:52:57 -0400|
wext: make sysfs bits optional and deprecate them
The /sys/class/net/*/wireless/ direcory is, as far as I know, not used by anyone. Additionally, the same data is available via wext ioctls. Hence the sysfs files are pretty much useless. This patch makes them optional and schedules them for removal. Signed-off-by: Johannes Berg <email@example.com> Cc: Jean Tourrilhes <firstname.lastname@example.org> Signed-off-by: John W. Linville <email@example.com>
Diffstat (limited to 'net/wireless')
1 files changed, 11 insertions, 0 deletions
diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig
index 79270903bda6..ab015c62d561 100644
@@ -29,3 +29,14 @@ config WIRELESS_EXT
Say N (if you can) unless you know you need wireless
extensions for external modules.
+ bool "Wireless extensions sysfs files"
+ default y
+ depends on WIRELESS_EXT && SYSFS
+ This option enables the deprecated wireless statistics
+ files in /sys/class/net/*/wireless/. The same information
+ is available via the ioctls as well.
+ Say Y if you have programs using it (we don't know of any).