Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 2015 00:14:37 +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: r291412 - head/sys/dev/ath
Message-ID:  <201511280014.tAS0EbJF023460@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sat Nov 28 00:14:37 2015
New Revision: 291412
URL: https://svnweb.freebsd.org/changeset/base/291412

Log:
  wrap in ATH_DEBUG.
  
  Thanks sparc64 build!

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:33:40 2015	(r291411)
+++ head/sys/dev/ath/if_ath_tx_ht.c	Sat Nov 28 00:14:37 2015	(r291412)
@@ -585,7 +585,7 @@ ath_rateseries_setup(struct ath_softc *s
 	}
 }
 
-#if 1
+#ifdef	ATH_DEBUG
 static void
 ath_rateseries_print(struct ath_softc *sc, HAL_11N_RATE_SERIES *series)
 {
@@ -627,7 +627,7 @@ ath_buf_set_rate(struct ath_softc *sc, s
 
 	ath_rateseries_setup(sc, ni, bf, series);
 
-#if 1
+#ifdef	ATH_DEBUG
 	if (sc->sc_debug & ATH_DEBUG_XMIT)
 		ath_rateseries_print(sc, series);
 #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511280014.tAS0EbJF023460>