aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00dev.c
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-07-04 08:51:39 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-07-08 14:16:03 -0400
commit50db7875d9dcd89f7624b13535738612faf8db0c (patch)
tree40533fe7fc13cad3a343754644757b5809a213c4 /drivers/net/wireless/rt2x00/rt2x00dev.c
parentf2cae6c5e41a979f85463aff60877b31fa3a383d (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/rt2x00dev.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00dev.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c
index ae8ab71fe474..41b3289b8281 100644
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
@@ -1179,7 +1179,6 @@ int rt2x00lib_suspend(struct rt2x00_dev *rt2x00dev, pm_message_t state)
1179 * Suspend/disable extra components. 1179 * Suspend/disable extra components.
1180 */ 1180 */
1181 rt2x00leds_suspend(rt2x00dev); 1181 rt2x00leds_suspend(rt2x00dev);
1182 rt2x00rfkill_suspend(rt2x00dev);
1183 rt2x00debug_deregister(rt2x00dev); 1182 rt2x00debug_deregister(rt2x00dev);
1184 1183
1185exit: 1184exit:
@@ -1235,7 +1234,6 @@ int rt2x00lib_resume(struct rt2x00_dev *rt2x00dev)
1235 * Restore/enable extra components. 1234 * Restore/enable extra components.
1236 */ 1235 */
1237 rt2x00debug_register(rt2x00dev); 1236 rt2x00debug_register(rt2x00dev);
1238 rt2x00rfkill_resume(rt2x00dev);
1239 rt2x00leds_resume(rt2x00dev); 1237 rt2x00leds_resume(rt2x00dev);
1240 1238
1241 /* 1239 /*