diff options
author | David S. Miller <davem@davemloft.net> | 2011-07-01 01:52:02 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-01 01:52:02 -0700 |
commit | 60c2ce2b4facf28f569115a55e1f479eb12bd0f1 (patch) | |
tree | 9771312021bbece80efea2fb0823563e4f68b611 /drivers/net/wireless/ath/ath9k/pci.c | |
parent | 0e90ed0e8b9b1c25040442f1d20c799751b1e727 (diff) | |
parent | 690b0cacb6dbbbcb06b76139ab65e1bf3f63e7f1 (diff) |
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/pci.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/pci.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/pci.c b/drivers/net/wireless/ath/ath9k/pci.c index b8cbfc70721..3bad0b2cf9a 100644 --- 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 *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; } |