svn commit: r223030 - user/adrian/if_ath_tx/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Mon Jun 13 01:30:18 UTC 2011


Author: adrian
Date: Mon Jun 13 01:30:18 2011
New Revision: 223030
URL: http://svn.freebsd.org/changeset/base/223030

Log:
  Fix another LOR.

Modified:
  user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c

Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c	Mon Jun 13 01:04:00 2011	(r223029)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c	Mon Jun 13 01:30:18 2011	(r223030)
@@ -1451,11 +1451,11 @@ ath_tx_tid_cleanup(struct ath_softc *sc,
 		ath_tx_tid_txq_unmark(sc, an, i);
 
 		/* Remove any pending hardware TXQ scheduling */
-		ATH_NODE_LOCK(an);
 		ATH_TXNODE_LOCK(sc);
+		ATH_NODE_LOCK(an);
 		ath_tx_node_unsched(sc, an);
-		ATH_TXNODE_UNLOCK(sc);
 		ATH_NODE_UNLOCK(an);
+		ATH_TXNODE_UNLOCK(sc);
 
 		/* Free mutex */
 		mtx_destroy(&atid->axq_lock);


More information about the svn-src-user mailing list