diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-07-04 08:51:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-08 14:16:03 -0400 |
commit | 50db7875d9dcd89f7624b13535738612faf8db0c (patch) | |
tree | 40533fe7fc13cad3a343754644757b5809a213c4 /drivers/net/wireless/rt2x00/Kconfig | |
parent | f2cae6c5e41a979f85463aff60877b31fa3a383d (diff) |
rt2x00: Remove input_polldev requirements for rfkill
With the new rfkill interface there is no longer a need
for the input_polldev. Create a delayed_work structure
which we can put on the mac80211 workqueue and poll the
hardware every 1000ms.
v2: Decrease poll frequency from 100ms to 1000ms
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/Kconfig | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/wireless/rt2x00/Kconfig b/drivers/net/wireless/rt2x00/Kconfig index 3a9b1d72caf8..d485a86bba75 100644 --- a/drivers/net/wireless/rt2x00/Kconfig +++ b/drivers/net/wireless/rt2x00/Kconfig | |||
@@ -36,9 +36,7 @@ config RT2X00_LIB_FIRMWARE | |||
36 | config RT2X00_LIB_RFKILL | 36 | config RT2X00_LIB_RFKILL |
37 | boolean | 37 | boolean |
38 | depends on RT2X00_LIB | 38 | depends on RT2X00_LIB |
39 | depends on INPUT | ||
40 | select RFKILL | 39 | select RFKILL |
41 | select INPUT_POLLDEV | ||
42 | 40 | ||
43 | config RT2X00_LIB_LEDS | 41 | config RT2X00_LIB_LEDS |
44 | boolean | 42 | boolean |
@@ -57,7 +55,7 @@ config RT2400PCI | |||
57 | 55 | ||
58 | config RT2400PCI_RFKILL | 56 | config RT2400PCI_RFKILL |
59 | bool "Ralink rt2400 rfkill support" | 57 | bool "Ralink rt2400 rfkill support" |
60 | depends on RT2400PCI && INPUT | 58 | depends on RT2400PCI |
61 | select RT2X00_LIB_RFKILL | 59 | select RT2X00_LIB_RFKILL |
62 | ---help--- | 60 | ---help--- |
63 | This adds support for integrated rt2400 hardware that features a | 61 | This adds support for integrated rt2400 hardware that features a |
@@ -85,7 +83,7 @@ config RT2500PCI | |||
85 | 83 | ||
86 | config RT2500PCI_RFKILL | 84 | config RT2500PCI_RFKILL |
87 | bool "Ralink rt2500 rfkill support" | 85 | bool "Ralink rt2500 rfkill support" |
88 | depends on RT2500PCI && INPUT | 86 | depends on RT2500PCI |
89 | select RT2X00_LIB_RFKILL | 87 | select RT2X00_LIB_RFKILL |
90 | ---help--- | 88 | ---help--- |
91 | This adds support for integrated rt2500 hardware that features a | 89 | This adds support for integrated rt2500 hardware that features a |
@@ -115,7 +113,7 @@ config RT61PCI | |||
115 | 113 | ||
116 | config RT61PCI_RFKILL | 114 | config RT61PCI_RFKILL |
117 | bool "Ralink rt2501/rt61 rfkill support" | 115 | bool "Ralink rt2501/rt61 rfkill support" |
118 | depends on RT61PCI && INPUT | 116 | depends on RT61PCI |
119 | select RT2X00_LIB_RFKILL | 117 | select RT2X00_LIB_RFKILL |
120 | ---help--- | 118 | ---help--- |
121 | This adds support for integrated rt61 hardware that features a | 119 | This adds support for integrated rt61 hardware that features a |