From: Ivo van Doorn Date: Mon, 17 Aug 2009 16:53:24 +0000 (+0200) Subject: rt2x00: Fix RFKILL polling X-Git-Tag: v2.6.32-rc1~703^2~335^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73077c85458739169cdaf893a375b8bb3939d35a;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed