]> 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)
commit3b5ea7b553c707b2c640035ed679018384ee26f0
tree8796470b6b0dcc74c0ce84ce556ea266172dde69
parent0ce056709d30498f7b10bf150d64d65d02b6bbfe
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