b43legacy: RF-kill support
This adds full support for the RFKILL button and the RFKILL LED trigger.
This is a port to b43legacy of a patch by Michael Buesch <mb@bu3sch.de>
for b43.
Signed-off-by: Larry Finger<Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
diff --git a/drivers/net/wireless/b43legacy/Kconfig b/drivers/net/wireless/b43legacy/Kconfig
index 1bf7775..68e05f0 100644
--- a/drivers/net/wireless/b43legacy/Kconfig
+++ b/drivers/net/wireless/b43legacy/Kconfig
@@ -37,7 +37,13 @@
# LED support
config B43LEGACY_LEDS
bool
- depends on MAC80211_LEDS
+ depends on B43LEGACY && MAC80211_LEDS
+ default y
+
+# RFKILL support
+config B43LEGACY_RFKILL
+ bool
+ depends on B43LEGACY && RFKILL
default y
config B43LEGACY_DEBUG