commit | 73077c85458739169cdaf893a375b8bb3939d35a | [log] [tgz] |
---|---|---|
author | Ivo van Doorn <ivdoorn@gmail.com> | Mon Aug 17 18:53:24 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Aug 20 11:36:00 2009 -0400 |
tree | 9d6154c259f17ce249784b4e4563976191ca01a9 | |
parent | 5f1c07d924d3e670044911487aca057bb39b4e7e [diff] |
rt2x00: Fix RFKILL polling The rfkill_poll callback function in the drivers check a bit to see if the RFKILL key has been pressed. However when the bit is set it means the radio is active and the device can be used. The wiphy_rfkill_set_hw_state() function expects the inversed, so '1' must be send when the radio must be disabled. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>