Skip to contentSkip to conversation

eeepc-laptop: correct the description of the hibernation abort bug

PATCH In review Alan Jenkins 1 participant 1 message Aug 2, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 7/8 eeepc-laptop: correct the description of the hibernation abort bug

Actually it is only the LED which is affected. The bios bug does not disable the wifi.

---
 drivers/platform/x86/eeepc-laptop.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
drivers/platform/x86/eeepc-laptop.c +4 -5
index 8a32004..df68ae6 100644
@@ -826,11 +826,10 @@ static int eeepc_hotk_resume(struct acpi_device *device)
 	if (ehotk->wlan_rfkill) {
 		bool wlan;
 
-		/* Workaround - it seems that _PTS disables the wireless
-		   without notification or changing the value read by WLAN.
-		   Normally this is fine because the correct value is restored
-		   from the non-volatile storage on resume, but we need to do
-		   it ourself if case suspend is aborted, or we lose wireless.
+		/*
+		 * Work around bios bug - acpi _PTS turns off the wireless led
+		 * during suspend.  Normally it restores it on resume, but
+		 * we should kick it ourselves in case suspend is aborted.
 		 */
 		wlan = get_acpi(CM_ASL_WLAN);
 		set_acpi(CM_ASL_WLAN, wlan);
Signature · 1 line
1.6.3.2