Date: Sun, 2 Dec 2012 06:50:27 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r243787 - head/sys/dev/ath Message-ID: <201212020650.qB26oRxT002529@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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, "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212020650.qB26oRxT002529>