wrap in ATH_DEBUG.

Thanks sparc64 build!
This commit is contained in:
Adrian Chadd 2015-11-28 00:14:37 +00:00
parent 20b0b9ea74
commit 19b34b5685
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291412

View File

@ -585,7 +585,7 @@ ath_rateseries_setup(struct ath_softc *sc, struct ieee80211_node *ni,
}
}
#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, struct ieee80211_node *ni,
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