svn commit: r225461 - user/adrian/if_ath_tx/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Fri Sep 9 11:59:59 UTC 2011


Author: adrian
Date: Fri Sep  9 11:59:59 2011
New Revision: 225461
URL: http://svn.freebsd.org/changeset/base/225461

Log:
  Fix a previous commit.

Modified:
  user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c

Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c	Fri Sep  9 11:24:04 2011	(r225460)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c	Fri Sep  9 11:59:59 2011	(r225461)
@@ -1821,14 +1821,14 @@ ath_tx_addto_baw(struct ath_softc *sc, s
 	if (bf->bf_state.bfs_isretried)
 		return;
 
+	tap = ath_tx_get_tx_tid(an, tid->tid);
+
 	if (bf->bf_state.bfs_addedbaw)
-		DPRINTF(sc, ATH_DEBUG_SW_TX_BAW,
+		device_printf(sc->sc_dev,
 		    "%s: re-added? tid=%d, seqno %d; window %d:%d; baw head=%d tail=%d\n",
 		    __func__, tid->tid, SEQNO(bf->bf_state.bfs_seqno),
 		    tap->txa_start, tap->txa_wnd, tid->baw_head, tid->baw_tail);
 
-
-	tap = ath_tx_get_tx_tid(an, tid->tid);
 	/*
 	 * ni->ni_txseqs[] is the currently allocated seqno.
 	 * the txa state contains the current baw start.


More information about the svn-src-user mailing list