diff options
author | Carlos Corbacho <carlos@strangeworlds.co.uk> | 2008-04-12 17:39:47 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-15 21:04:35 +0200 |
commit | 89796f64a20d31e74ee0051df2e26812c852e734 (patch) | |
tree | 5430ac55e047fa88c5cc11f1d1f1e8b95ceddf56 /MAINTAINERS | |
parent | b43legacy: Fix usage of struct device used for DMAing (diff) | |
download | linux-89796f64a20d31e74ee0051df2e26812c852e734.tar.xz linux-89796f64a20d31e74ee0051df2e26812c852e734.zip |
rfkill: Fix device type check when toggling states
rfkill_switch_all() is supposed to only switch all the interfaces of a
given type, but does not actually do this; instead, it just switches
everything currently in the same state.
Add the necessary type check in.
(This fixes a bug I've been seeing while developing an rfkill laptop
driver, with both bluetooth and wireless simultaneously changing state
after only pressing either KEY_WLAN or KEY_BLUETOOTH).
Signed-off-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions