From: Alex Hung Date: Wed, 23 May 2012 06:11:52 +0000 (+0800) Subject: rfkill: Add the capability to switch all devices of all type in __rfkill_switch_all(). X-Git-Tag: v3.6-rc1~125^2~559^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27e49ca95570c4685a32be9d4664f2b0b6d89368;p=pandora-kernel.git rfkill: Add the capability to switch all devices of all type in __rfkill_switch_all(). __rfkill_switch_all() switches the state of devices of a given type; however, it does not switch devices of all type (RFKILL_TYPE_ALL). As a result, it ignores the keycode "KEY_RFKILL" from another module, i.e. eeepc-wmi. This fix is to make __rfkill_switch_all() to be able to switch not only devices of a given type but also all devices. Signed-off-by: Alex Hung Signed-off-by: John W. Linville --- Reading git-diff-tree failed