Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315247
b: refs/heads/master
c: b73f3e7
h: refs/heads/master
i:
  315245: ccfe6ac
  315243: eb71f7c
  315239: 42453da
  315231: 99046ab
v: v3
  • Loading branch information
Rajkumar Manoharan authored and John W. Linville committed Jul 9, 2012
1 parent 8c0eee3 commit f10a543
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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: 54717e5330318d53180a1f3026f617509031ee68
refs/heads/master: b73f3e78047abdcc8bc33f97445ef6691ce3cc3d
11 changes: 5 additions & 6 deletions trunk/drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,6 @@ static int ath9k_start(struct ieee80211_hw *hw)

spin_unlock_bh(&sc->sc_pcu_lock);

ath9k_start_btcoex(sc);

if (ah->caps.pcie_lcr_extsync_en && common->bus_ops->extn_synch_en)
common->bus_ops->extn_synch_en(common);

Expand Down Expand Up @@ -774,8 +772,6 @@ static void ath9k_stop(struct ieee80211_hw *hw)
/* Ensure HW is awake when we try to shut it down. */
ath9k_ps_wakeup(sc);

ath9k_stop_btcoex(sc);

spin_lock_bh(&sc->sc_pcu_lock);

/* prevent tasklets to enable interrupts once we disable them */
Expand Down Expand Up @@ -1139,14 +1135,17 @@ static int ath9k_config(struct ieee80211_hw *hw, u32 changed)

if (changed & IEEE80211_CONF_CHANGE_IDLE) {
sc->ps_idle = !!(conf->flags & IEEE80211_CONF_IDLE);
if (sc->ps_idle)
if (sc->ps_idle) {
ath_cancel_work(sc);
else
ath9k_stop_btcoex(sc);
} else {
ath9k_start_btcoex(sc);
/*
* The chip needs a reset to properly wake up from
* full sleep
*/
reset_channel = ah->chip_fullsleep;
}
}

/*
Expand Down

0 comments on commit f10a543

Please sign in to comment.