svn commit: r243787 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Sun Dec 2 06:50:27 UTC 2012
Author: adrian
Date: Sun Dec 2 06:50:27 2012
New Revision: 243787
URL: http://svnweb.freebsd.org/changeset/base/243787
Log:
Don't grab the PCU lock inside the TX 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 Sun Dec 2 06:24:08 2012 (r243786)
+++ head/sys/dev/ath/if_ath_tx.c Sun Dec 2 06:50:27 2012 (r243787)
@@ -2275,12 +2275,12 @@ ath_raw_xmit(struct ieee80211_node *ni,
*/
ath_tx_update_tim(sc, ni, 1);
+ ATH_TX_UNLOCK(sc);
+
ATH_PCU_LOCK(sc);
sc->sc_txstart_cnt--;
ATH_PCU_UNLOCK(sc);
- ATH_TX_UNLOCK(sc);
-
return 0;
bad2:
ATH_KTR(sc, ATH_KTR_TX, 3, "ath_raw_xmit: bad2: m=%p, params=%p, "
More information about the svn-src-head
mailing list