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, " _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"