Wrap debugging in #ifdef ATH_DEBUG

This commit is contained in:
Adrian Chadd 2012-08-20 15:30:26 +00:00
parent 718444dcc1
commit 0f8423a27a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239438

View File

@ -376,8 +376,10 @@ ath_tx_chaindesclist(struct ath_softc *sc, struct ath_buf *bf)
, (struct ath_desc *) ds0 /* first descriptor */
);
isFirstDesc = 0;
#ifdef ATH_DEBUG
if (sc->sc_debug & ATH_DEBUG_XMIT)
ath_printtxbuf(sc, bf, qnum, 0, 0);
#endif
bf->bf_lastds = (struct ath_desc *) ds;
/*