dell-laptop: Toggle the unsupported hardware killswitch
authorKeng-Yu Lin <keng-yu.lin@canonical.com>
Tue, 15 Feb 2011 09:36:07 +0000 (17:36 +0800)
committerMatthew Garrett <mjg@redhat.com>
Mon, 21 Feb 2011 22:06:21 +0000 (17:06 -0500)
commita3d77411e8b2ad661958c1fbee65beb476ec6d70
treeabf83be40e34122d5c18a90ac5e48b0ddcbebcd9
parent5ffba7e696510c90e8327a2041764b2a60e56c6e
dell-laptop: Toggle the unsupported hardware killswitch

It is found on Dell Inspiron 1018 that the firmware reports that the hardware
killswitch is not supported. This makes the rfkill key not functional.

This patch forces the driver to toggle the firmware rfkill status in the case
that the hardware killswitch is indicated as unsupported by the firmware.

Signed-off-by: Keng-Yu Lin <keng-yu.lin@canonical.com>
Tested-by: Alessio Igor Bogani <abogani@texware.it>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/dell-laptop.c