[ath] conditionally print out the rate series information if ATH_DEBUG_XMIT is set.

This commit is contained in:
Adrian Chadd 2015-11-27 22:33:40 +00:00
parent c6d2bd4812
commit 20b0b9ea74

View File

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