summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43legacy/Kconfig
diff options
context:
space:
mode:
authorStefano Brivio <stefano.brivio@polimi.it>2007-11-08 00:28:00 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:04:37 -0800
commit59f1b154653d961d3ace72a4a5311c395cf7d779 (patch)
tree10a54db0143decb4470ea13a0c48ce56c423bc59 /drivers/net/wireless/b43legacy/Kconfig
parent1d43d312a2adeb184c90b11449d5bb3a8f59a3a8 (diff)
b43legacy: fix kconfig dependecies for rfkill and leds
Fix dependencies for built-in b43legacy. The patch to b43 by Michael Buesch <mb@bu3sch.de> has been ported to b43legacy. Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43legacy/Kconfig')
-rw-r--r--drivers/net/wireless/b43legacy/Kconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43legacy/Kconfig b/drivers/net/wireless/b43legacy/Kconfig
index 9718529af660..6745579ba96d 100644
--- a/drivers/net/wireless/b43legacy/Kconfig
+++ b/drivers/net/wireless/b43legacy/Kconfig
@@ -35,15 +35,19 @@ config B43LEGACY_PCICORE_AUTOSELECT
default y
# LED support
+# This config option automatically enables b43legacy LEDS support,
+# if it's possible.
config B43LEGACY_LEDS
bool
- depends on B43LEGACY && MAC80211_LEDS
+ depends on B43LEGACY && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = B43LEGACY)
default y
# RFKILL support
+# This config option automatically enables b43legacy RFKILL support,
+# if it's possible.
config B43LEGACY_RFKILL
bool
- depends on B43LEGACY && RFKILL && RFKILL_INPUT && INPUT_POLLDEV
+ depends on B43LEGACY && (RFKILL = y || RFKILL = B43LEGACY) && RFKILL_INPUT && (INPUT_POLLDEV = y || INPUT_POLLDEV = B43LEGACY)
default y
config B43LEGACY_DEBUG