rt2x00: Remove input_polldev requirements for rfkill
authorIvo van Doorn <ivdoorn@gmail.com>
Fri, 4 Jul 2008 12:51:39 +0000 (14:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Jul 2008 18:16:03 +0000 (14:16 -0400)
commit50db7875d9dcd89f7624b13535738612faf8db0c
tree40533fe7fc13cad3a343754644757b5809a213c4
parentf2cae6c5e41a979f85463aff60877b31fa3a383d
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>
drivers/net/wireless/rt2x00/Kconfig
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00lib.h
drivers/net/wireless/rt2x00/rt2x00rfkill.c