]> git.baikalelectronics.ru Git - kernel.git/commit
acer-wmi: Only update rfkill status for associated hotkey events
authorSeth Forshee <seth.forshee@canonical.com>
Tue, 21 Jun 2011 17:00:33 +0000 (12:00 -0500)
committerMatthew Garrett <mjg@redhat.com>
Thu, 7 Jul 2011 14:38:56 +0000 (10:38 -0400)
commit875693b50e983e5360ba928f2133abbd38868395
tree8796470b6b0dcc74c0ce84ce556ea266172dde69
parenta77ac822bf6295828e442cdfe1c71a324e3d5f0c
acer-wmi: Only update rfkill status for associated hotkey events

acer-wmi is indiscriminately using the device state from hotkey
events to update the various rfkill states. On the Aspire 1830 this
can result in a soft block on the wlan when the touchpad hotkey is
pressed, as it is reporting a non-zero device state that does not
reflect the wireless status. To fix this, only update rfkill states
when a wlan or bluetooth hotkey is pressed.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/acer-wmi.c