Date: Fri, 27 Nov 2015 22:33:40 +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: r291411 - head/sys/dev/ath Message-ID: <201511272233.tARMXehm094445@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Fri Nov 27 22:33:40 2015 New Revision: 291411 URL: https://svnweb.freebsd.org/changeset/base/291411 Log: [ath] conditionally print out the rate series information if ATH_DEBUG_XMIT is set. Modified: head/sys/dev/ath/if_ath_tx_ht.c Modified: head/sys/dev/ath/if_ath_tx_ht.c ============================================================================== --- head/sys/dev/ath/if_ath_tx_ht.c Fri Nov 27 22:11:46 2015 (r291410) +++ head/sys/dev/ath/if_ath_tx_ht.c Fri Nov 27 22:33:40 2015 (r291411) @@ -585,7 +585,7 @@ ath_rateseries_setup(struct ath_softc *s } } -#if 0 +#if 1 static void ath_rateseries_print(struct ath_softc *sc, HAL_11N_RATE_SERIES *series) { @@ -627,8 +627,9 @@ ath_buf_set_rate(struct ath_softc *sc, s ath_rateseries_setup(sc, ni, bf, series); -#if 0 - ath_rateseries_print(sc, series); +#if 1 + if (sc->sc_debug & ATH_DEBUG_XMIT) + ath_rateseries_print(sc, series); #endif /* Set rate scenario */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511272233.tARMXehm094445>