rt2x00: Only register rfkill input when key is present
authorIvo van Doorn <ivdoorn@gmail.com>
Wed, 7 Jan 2009 13:51:41 +0000 (14:51 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:59:57 +0000 (15:59 -0500)
commit64d74681433415855da02d2516f28d2ed859cde9
treef4c2a530ca649ca18ca547ccc702f740d7e6bebf
parent46f2c4bd7e2ba2cfedbcd4fe15d316eebc608cba
rt2x00: Only register rfkill input when key is present

rt2x00 should only register the RFKILL input device when the hardware indicated
the key was present.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00rfkill.c