aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/Kconfig
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-09-08 12:46:29 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-09-11 15:53:38 -0400
commit58169529986e81e0d477ce11eb8b91f025f649c1 (patch)
treedd115fdc8835af9ebcf91f585cc0687cf8fe2044 /drivers/net/wireless/rt2x00/Kconfig
parent3d35f7c6874d83063d19de0cdb4e503ff4471098 (diff)
rt2x00: Make RFKILL enabled by default
RFKILL should be enabled for _all_ hardware whether or not they feature a rfkill button or not. Remove driver specific RFKILL configuration options and make the rt2x00lib version depend on CONFIG_RFKILL and defaulting to 'y' to make sure it will always be enabled when RFKILL was enabled. This also fixes some bugs where RFKILL wasn't initialized and didn't respond to RFKILL key presses. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/Kconfig')
-rw-r--r--drivers/net/wireless/rt2x00/Kconfig30
1 files changed, 2 insertions, 28 deletions
diff --git a/drivers/net/wireless/rt2x00/Kconfig b/drivers/net/wireless/rt2x00/Kconfig
index 11f590d63aff..c896c9903879 100644
--- a/drivers/net/wireless/rt2x00/Kconfig
+++ b/drivers/net/wireless/rt2x00/Kconfig
@@ -40,7 +40,8 @@ config RT2X00_LIB_CRYPTO
40config RT2X00_LIB_RFKILL 40config RT2X00_LIB_RFKILL
41 boolean 41 boolean
42 depends on RT2X00_LIB 42 depends on RT2X00_LIB
43 select RFKILL 43 depends on RFKILL
44 default y
44 45
45config RT2X00_LIB_LEDS 46config RT2X00_LIB_LEDS
46 boolean 47 boolean
@@ -57,15 +58,6 @@ config RT2400PCI
57 58
58 When compiled as a module, this driver will be called "rt2400pci.ko". 59 When compiled as a module, this driver will be called "rt2400pci.ko".
59 60
60config RT2400PCI_RFKILL
61 bool "Ralink rt2400 rfkill support"
62 depends on RT2400PCI
63 select RT2X00_LIB_RFKILL
64 ---help---
65 This adds support for integrated rt2400 hardware that features a
66 hardware button to control the radio state.
67 This feature depends on the RF switch subsystem rfkill.
68
69config RT2400PCI_LEDS 61config RT2400PCI_LEDS
70 bool "Ralink rt2400 leds support" 62 bool "Ralink rt2400 leds support"
71 depends on RT2400PCI && NEW_LEDS 63 depends on RT2400PCI && NEW_LEDS
@@ -85,15 +77,6 @@ config RT2500PCI
85 77
86 When compiled as a module, this driver will be called "rt2500pci.ko". 78 When compiled as a module, this driver will be called "rt2500pci.ko".
87 79
88config RT2500PCI_RFKILL
89 bool "Ralink rt2500 rfkill support"
90 depends on RT2500PCI
91 select RT2X00_LIB_RFKILL
92 ---help---
93 This adds support for integrated rt2500 hardware that features a
94 hardware button to control the radio state.
95 This feature depends on the RF switch subsystem rfkill.
96
97config RT2500PCI_LEDS 80config RT2500PCI_LEDS
98 bool "Ralink rt2500 leds support" 81 bool "Ralink rt2500 leds support"
99 depends on RT2500PCI && NEW_LEDS 82 depends on RT2500PCI && NEW_LEDS
@@ -116,15 +99,6 @@ config RT61PCI
116 99
117 When compiled as a module, this driver will be called "rt61pci.ko". 100 When compiled as a module, this driver will be called "rt61pci.ko".
118 101
119config RT61PCI_RFKILL
120 bool "Ralink rt2501/rt61 rfkill support"
121 depends on RT61PCI
122 select RT2X00_LIB_RFKILL
123 ---help---
124 This adds support for integrated rt61 hardware that features a
125 hardware button to control the radio state.
126 This feature depends on the RF switch subsystem rfkill.
127
128config RT61PCI_LEDS 102config RT61PCI_LEDS
129 bool "Ralink rt2501/rt61 leds support" 103 bool "Ralink rt2501/rt61 leds support"
130 depends on RT61PCI && NEW_LEDS 104 depends on RT61PCI && NEW_LEDS