Don't grab the PCU lock inside the TX lock.

This commit is contained in:
Adrian Chadd 2012-12-02 06:50:27 +00:00
parent 375307d411
commit 974185bb13

View File

@ -2275,12 +2275,12 @@ ath_raw_xmit(struct ieee80211_node *ni, struct mbuf *m,
*/
ath_tx_update_tim(sc, ni, 1);
ATH_TX_UNLOCK(sc);
ATH_PCU_LOCK(sc);
sc->sc_txstart_cnt--;
ATH_PCU_UNLOCK(sc);
ATH_TX_UNLOCK(sc);
return 0;
bad2:
ATH_KTR(sc, ATH_KTR_TX, 3, "ath_raw_xmit: bad2: m=%p, params=%p, "