Date: Mon, 20 Aug 2012 15:30:27 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r239438 - head/sys/dev/ath Message-ID: <201208201530.q7KFURwj053956@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208201530.q7KFURwj053956>