mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
Call ath_tx_tid_unsched() after the node has been flushed, so the
state can be printed correctly.
This commit is contained in:
parent
c4fc9c14c2
commit
23f44d2b30
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240914
@ -3468,12 +3468,11 @@ ath_tx_node_flush(struct ath_softc *sc, struct ath_node *an)
|
||||
struct ath_tid *atid = &an->an_tid[tid];
|
||||
struct ath_txq *txq = sc->sc_ac2q[atid->ac];
|
||||
|
||||
/* Remove this tid from the list of active tids */
|
||||
ATH_TXQ_LOCK(txq);
|
||||
ath_tx_tid_unsched(sc, atid);
|
||||
|
||||
/* Free packets */
|
||||
ath_tx_tid_drain(sc, an, atid, &bf_cq);
|
||||
/* Remove this tid from the list of active tids */
|
||||
ath_tx_tid_unsched(sc, atid);
|
||||
ATH_TXQ_UNLOCK(txq);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user