aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2012-09-25 20:41:43 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2012-09-25 20:41:43 +0000
commit0a54471901744df33e05d9a23d2066a092d87a60 (patch)
treedf4598fb038ff3d0280f01868c8f706dc4d59e6c /sys/dev
parent0bf9cb917ca072b0aa3c1fd4442a795378762cb1 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ath/if_ath_tx.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c
index adde6fc452d51..42c076c0c01e1 100644
--- a/sys/dev/ath/if_ath_tx.c
+++ b/sys/dev/ath/if_ath_tx.c
@@ -1356,9 +1356,6 @@ ath_tx_xmit_normal(struct ath_softc *sc, struct ath_txq *txq,
*/
bf->bf_state.bfs_txflags |= HAL_TXDESC_CLRDMASK;
- /* See if clrdmask needs to be set */
- ath_tx_update_clrdmask(sc, tid, bf);
-
/* Setup the descriptor before handoff */
ath_tx_do_ratelookup(sc, bf);
ath_tx_calc_duration(sc, bf);
@@ -2820,6 +2817,8 @@ ath_tx_swq(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_txq *txq,
} else if (txq->axq_depth < sc->sc_hwq_limit) {
/* AMPDU not running, attempt direct dispatch */
DPRINTF(sc, ATH_DEBUG_SW_TX, "%s: xmit_normal\n", __func__);
+ /* See if clrdmask needs to be set */
+ ath_tx_update_clrdmask(sc, atid, bf);
ath_tx_xmit_normal(sc, txq, bf);
} else {
/* Busy; queue */