svn commit: r236879 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Mon Jun 11 07:35:24 UTC 2012


Author: adrian
Date: Mon Jun 11 07:35:24 2012
New Revision: 236879
URL: http://svn.freebsd.org/changeset/base/236879

Log:
  Add another TID lock.

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	Mon Jun 11 07:31:50 2012	(r236878)
+++ head/sys/dev/ath/if_ath_tx.c	Mon Jun 11 07:35:24 2012	(r236879)
@@ -2149,6 +2149,7 @@ ath_tx_update_baw(struct ath_softc *sc, 
 	int seqno = SEQNO(bf->bf_state.bfs_seqno);
 
 	ATH_TXQ_LOCK_ASSERT(sc->sc_ac2q[tid->ac]);
+	ATH_TID_LOCK_ASSERT(sc, tid);
 
 	tap = ath_tx_get_tx_tid(an, tid->tid);
 	index  = ATH_BA_INDEX(tap->txa_start, seqno);


More information about the svn-src-all mailing list