This is a note to let you know that I've just added the patch titled
ath9k: Fix suspend/resume when no interface is UP
to the 2.6.39-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ath9k-fix-suspend-resume-when-no-interface-is-up.patch
and it can be found in the queue-2.6.39 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From c31eb8e926835582cd186b33a7a864880a4c0c79 Mon Sep 17 00:00:00 2001
From: Rajkumar Manoharan <[email protected]>
Date: Tue, 28 Jun 2011 18:21:19 +0530
Subject: ath9k: Fix suspend/resume when no interface is UP
From: Rajkumar Manoharan <[email protected]>
commit c31eb8e926835582cd186b33a7a864880a4c0c79 upstream.
When no interface has been brought up, the chip's power
state continued as AWAKE. So during resume, the chip never
been powered up.
Signed-off-by: Rajkumar Manoharan <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/net/wireless/ath/ath9k/pci.c | 6 ++++++
1 file changed, 6 insertions(+)
--- a/drivers/net/wireless/ath/ath9k/pci.c
+++ b/drivers/net/wireless/ath/ath9k/pci.c
@@ -278,6 +278,12 @@ static int ath_pci_suspend(struct device
ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, 1);
+ /* The device has to be moved to FULLSLEEP forcibly.
+ * Otherwise the chip never moved to full sleep,
+ * when no interface is up.
+ */
+ ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_FULL_SLEEP);
+
return 0;
}
Patches currently in stable-queue which might be from [email protected]
are
queue-2.6.39/ath9k-fix-suspend-resume-when-no-interface-is-up.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable