diff options
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/pci.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index ef298f41ab4a..ef87637e4245 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -1333,8 +1333,8 @@ static void ath9k_stop(struct ieee80211_hw *hw) | |||
1333 | 1333 | ||
1334 | ath9k_ps_restore(sc); | 1334 | ath9k_ps_restore(sc); |
1335 | 1335 | ||
1336 | /* Finally, put the chip in FULL SLEEP mode */ | 1336 | sc->ps_idle = true; |
1337 | ath9k_setpower(sc, ATH9K_PM_FULL_SLEEP); | 1337 | ath_radio_disable(sc, hw); |
1338 | 1338 | ||
1339 | sc->sc_flags |= SC_OP_INVALID; | 1339 | sc->sc_flags |= SC_OP_INVALID; |
1340 | 1340 | ||
diff --git a/drivers/net/wireless/ath/ath9k/pci.c b/drivers/net/wireless/ath/ath9k/pci.c index 747b2871e48f..7ca8499249ec 100644 --- a/drivers/net/wireless/ath/ath9k/pci.c +++ b/drivers/net/wireless/ath/ath9k/pci.c | |||
@@ -309,6 +309,9 @@ static int ath_pci_resume(struct device *device) | |||
309 | AR_GPIO_OUTPUT_MUX_AS_OUTPUT); | 309 | AR_GPIO_OUTPUT_MUX_AS_OUTPUT); |
310 | ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, 1); | 310 | ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, 1); |
311 | 311 | ||
312 | sc->ps_idle = true; | ||
313 | ath_radio_disable(sc, hw); | ||
314 | |||
312 | return 0; | 315 | return 0; |
313 | } | 316 | } |
314 | 317 | ||