diff options
author | Alex Hung <alex.hung@canonical.com> | 2012-05-23 08:11:52 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-06 21:18:17 +0200 |
commit | 27e49ca95570c4685a32be9d4664f2b0b6d89368 (patch) | |
tree | 918a62cf0d9a03334bc93e23b6a2a627fd32d052 /block | |
parent | cfg80211: clarify set_channel APIs (diff) | |
download | linux-27e49ca95570c4685a32be9d4664f2b0b6d89368.tar.xz linux-27e49ca95570c4685a32be9d4664f2b0b6d89368.zip |
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 <alex.hung@canonical.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions