svn commit: r240914 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Tue Sep 25 05:57:00 UTC 2012
Author: adrian
Date: Tue Sep 25 05:56:59 2012
New Revision: 240914
URL: http://svn.freebsd.org/changeset/base/240914
Log:
Call ath_tx_tid_unsched() after the node has been flushed, so the
state can be printed correctly.
Modified:
head/sys/dev/ath/if_ath_tx.c
Modified: head/sys/dev/ath/if_ath_tx.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx.c Tue Sep 25 03:59:10 2012 (r240913)
+++ head/sys/dev/ath/if_ath_tx.c Tue Sep 25 05:56:59 2012 (r240914)
@@ -3468,12 +3468,11 @@ ath_tx_node_flush(struct ath_softc *sc,
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);
}
More information about the svn-src-head
mailing list