aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2012-06-11 12:26:23 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2012-06-11 12:26:23 +0000
commitc7c073413bf3b7208783e81831bf5619fcd5df14 (patch)
tree51639da7c997aed1966d96f11ba7a3911ba3beae /sys/dev
parent2d9cf57e18654edda53bcb460ca66641ba69ed75 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ath/if_ath_tx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c
index cae07b513526..677288edaef1 100644
--- a/sys/dev/ath/if_ath_tx.c
+++ b/sys/dev/ath/if_ath_tx.c
@@ -2043,6 +2043,8 @@ ath_tx_addto_baw(struct ath_softc *sc, struct ath_node *an,
if (bf->bf_state.bfs_isretried)
return;
+ tap = ath_tx_get_tx_tid(an, tid->tid);
+
if (! bf->bf_state.bfs_dobaw) {
device_printf(sc->sc_dev,
"%s: dobaw=0, seqno=%d, window %d:%d\n",
@@ -2052,8 +2054,6 @@ ath_tx_addto_baw(struct ath_softc *sc, struct ath_node *an,
tap->txa_wnd);
}
- tap = ath_tx_get_tx_tid(an, tid->tid);
-
if (bf->bf_state.bfs_addedbaw)
device_printf(sc->sc_dev,
"%s: re-added? tid=%d, seqno %d; window %d:%d; "