summaryrefslogtreecommitdiffstats
path: root/include/linux/rfkill.h
diff options
context:
space:
mode:
authorAlan Jenkins2009-06-16 15:53:52 +0200
committerJohn W. Linville2009-06-19 17:50:17 +0200
commit96e9cfeb9692b0bc6e03f9b6f9cb3c67a40b76d1 (patch)
treec64eee66425c46d34c266dc106c1a8f51e4cafca /include/linux/rfkill.h
parentrfkill: don't restore software blocked state on persistent devices (diff)
downloadkernel-qcow2-linux-96e9cfeb9692b0bc6e03f9b6f9cb3c67a40b76d1.tar.gz
kernel-qcow2-linux-96e9cfeb9692b0bc6e03f9b6f9cb3c67a40b76d1.tar.xz
kernel-qcow2-linux-96e9cfeb9692b0bc6e03f9b6f9cb3c67a40b76d1.zip
eeepc-laptop: read rfkill soft-blocked state on resume
This will respect state changes over hibernation, e.g. if the user disables the wireless in the BIOS setup screen. It reveals an issue where ACPI silently kills the wireless on suspend. Normally, the BIOS restores the correct state from non-volatile storage on boot. But when hibernation is aborted, the wireless would remain killed. Fortunately we can work around this in the resume handler by simply writing back the same value we read from NVS. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/rfkill.h')
0 files changed, 0 insertions, 0 deletions