Fix a couple of sc_ac2q[] mappings that were using the TID, not the AC.
PR: kern/167588
This commit is contained in:
parent
ceeac1ac05
commit
96ff26ff5d
@ -4307,9 +4307,9 @@ ath_addba_request(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap,
|
||||
* it'll be "after" the left edge of the BAW and thus it'll
|
||||
* fall within it.
|
||||
*/
|
||||
ATH_TXQ_LOCK(sc->sc_ac2q[atid->tid]);
|
||||
ATH_TXQ_LOCK(sc->sc_ac2q[atid->ac]);
|
||||
ath_tx_tid_pause(sc, atid);
|
||||
ATH_TXQ_UNLOCK(sc->sc_ac2q[atid->tid]);
|
||||
ATH_TXQ_UNLOCK(sc->sc_ac2q[atid->ac]);
|
||||
|
||||
DPRINTF(sc, ATH_DEBUG_SW_TX_CTRL,
|
||||
"%s: called; dialogtoken=%d, baparamset=%d, batimeout=%d\n",
|
||||
@ -4395,9 +4395,9 @@ ath_addba_stop(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap)
|
||||
DPRINTF(sc, ATH_DEBUG_SW_TX_CTRL, "%s: called\n", __func__);
|
||||
|
||||
/* Pause TID traffic early, so there aren't any races */
|
||||
ATH_TXQ_LOCK(sc->sc_ac2q[atid->tid]);
|
||||
ATH_TXQ_LOCK(sc->sc_ac2q[atid->ac]);
|
||||
ath_tx_tid_pause(sc, atid);
|
||||
ATH_TXQ_UNLOCK(sc->sc_ac2q[atid->tid]);
|
||||
ATH_TXQ_UNLOCK(sc->sc_ac2q[atid->ac]);
|
||||
|
||||
/* There's no need to hold the TXQ lock here */
|
||||
sc->sc_addba_stop(ni, tap);
|
||||
|
Loading…
x
Reference in New Issue
Block a user