Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2011 11:59:59 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r225461 - user/adrian/if_ath_tx/sys/dev/ath
Message-ID:  <201109091159.p89Bxx5N037386@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109091159.p89Bxx5N037386>