Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149940
b: refs/heads/master
c: d2f5b3a
h: refs/heads/master
v: v3
  • Loading branch information
Sujith authored and John W. Linville committed Apr 22, 2009
1 parent a79ca93 commit 9075647
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a89bff9a78b2bf51e21a961b473b5be94b22f12e
refs/heads/master: d2f5b3a6778ae86fd93cb01ccac16aa0b079e441
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1089,10 +1089,10 @@ void ath_radio_enable(struct ath_softc *sc)
int r;

ath9k_ps_wakeup(sc);
spin_lock_bh(&sc->sc_resetlock);
ath9k_hw_configpcipowersave(ah, 0);

spin_lock_bh(&sc->sc_resetlock);
r = ath9k_hw_reset(ah, ah->curchan, false);

if (r) {
DPRINTF(sc, ATH_DBG_FATAL,
"Unable to reset channel %u (%uMhz) ",
Expand Down Expand Up @@ -1154,6 +1154,7 @@ void ath_radio_disable(struct ath_softc *sc)
spin_unlock_bh(&sc->sc_resetlock);

ath9k_hw_phy_disable(ah);
ath9k_hw_configpcipowersave(ah, 1);
ath9k_hw_setpower(ah, ATH9K_PM_FULL_SLEEP);
ath9k_ps_restore(sc);
}
Expand Down

0 comments on commit 9075647

Please sign in to comment.