diff mbox

sony-laptop: check for rfkill hard block at load time

Message ID 20091002100029.GC4406@gandalf.dynalias.org (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Norbert Preining Oct. 2, 2009, 10 a.m. UTC
None
diff mbox

Patch

diff a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -1044,6 +1044,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;
 }