aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2012-09-25 05:56:59 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2012-09-25 05:56:59 +0000
commit23f44d2b30e134fe53277cf4df4a5109b5e3ffe3 (patch)
tree737dd68f19195713a8dc48e1641a9c147ad673d7 /sys
parentc4fc9c14c2b8d2dde41006f3ebbce8bd3eab9672 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ath/if_ath_tx.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c
index 751c5623d56e1..adde6fc452d51 100644
--- a/sys/dev/ath/if_ath_tx.c
+++ b/sys/dev/ath/if_ath_tx.c
@@ -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);
}