summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_ath_tx.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-08-20 15:30:26 +0000
committeradrian <adrian@FreeBSD.org>2012-08-20 15:30:26 +0000
commitb892612596d6d63469b7c015eff9c42e2aea43ba (patch)
tree5853f5900415741c32cc698927c194b953953030 /sys/dev/ath/if_ath_tx.c
parent1a911f901bac12caa4277287f43aa918282c7d7b (diff)
downloadFreeBSD-src-b892612596d6d63469b7c015eff9c42e2aea43ba.zip
FreeBSD-src-b892612596d6d63469b7c015eff9c42e2aea43ba.tar.gz
Wrap debugging in #ifdef ATH_DEBUG
Diffstat (limited to 'sys/dev/ath/if_ath_tx.c')
-rw-r--r--sys/dev/ath/if_ath_tx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c
index c1e47bd..a910756 100644
--- a/sys/dev/ath/if_ath_tx.c
+++ b/sys/dev/ath/if_ath_tx.c
@@ -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;
/*
OpenPOWER on IntegriCloud