]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/wireless/rt2x00/rt2x00.h
rt2x00: Replace RFKILL with INPUT
authorIvo van Doorn <ivdoorn@gmail.com>
Sat, 3 Jan 2009 18:56:02 +0000 (19:56 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:59:47 +0000 (15:59 -0500)
commitcca3e99861e883358ceb39ad17c9eaee082138a5
tree7876976ddc1e60e510fdf905ac9fd3fca939d1d7
parentc97c92d92715ea4ea2d7cf00957e8a014439bdd8
rt2x00: Replace RFKILL with INPUT

As discussed on linux-wireless rt2x00 does not offer a true RFKILL key,
for that reason RFKILL support should be entirely removed.

The key which is attached to the hardware should be treated as normal
input device instead. Implement input_poll_dev support to poll the device
frequently. When the key status has changed report it as a SW event.

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/rt2x00lib.h
drivers/net/wireless/rt2x00/rt2x00rfkill.c