Commit a0d97d6c authored by Alan Jenkins's avatar Alan Jenkins Committed by John W. Linville

sony-laptop: re-read the rfkill state when resuming from suspend

Without this, the hard-blocked state will be reported incorrectly if
the hardware switch is changed while the laptop is suspended.
Signed-off-by: default avatarAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Tested-by: default avatarNorbert Preining <preining@logic.at>
Acked-by: default avatarMattia Dongili <malattia@linux.it>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 50fab076
......@@ -1041,6 +1041,9 @@ static int sony_nc_resume(struct acpi_device *device)
sony_backlight_update_status(sony_backlight_device) < 0)
printk(KERN_WARNING DRV_PFX "unable to restore brightness level\n");
/* re-read rfkill state */
sony_nc_rfkill_update();
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment