svn commit: r239438 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Mon Aug 20 15:30:27 UTC 2012
Author: adrian
Date: Mon Aug 20 15:30:26 2012
New Revision: 239438
URL: http://svn.freebsd.org/changeset/base/239438
Log:
Wrap debugging in #ifdef ATH_DEBUG
Modified:
head/sys/dev/ath/if_ath_tx.c
Modified: head/sys/dev/ath/if_ath_tx.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx.c Mon Aug 20 15:19:34 2012 (r239437)
+++ head/sys/dev/ath/if_ath_tx.c Mon Aug 20 15:30:26 2012 (r239438)
@@ -376,8 +376,10 @@ ath_tx_chaindesclist(struct ath_softc *s
, (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;
/*
More information about the svn-src-head
mailing list