summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-11-27 05:52:08 +0000
committeradrian <adrian@FreeBSD.org>2012-11-27 05:52:08 +0000
commit09361c79dd6d885cb5b63be5e75f50e9adc2e0b6 (patch)
tree7f6b7df7f487e9756ea1f9bce7cbb075e4fc75ec
parent4d556cc34306c56916bb1a7169da3e6f601a0ef6 (diff)
downloadFreeBSD-src-09361c79dd6d885cb5b63be5e75f50e9adc2e0b6.zip
FreeBSD-src-09361c79dd6d885cb5b63be5e75f50e9adc2e0b6.tar.gz
Fix build
-rw-r--r--sys/dev/ath/if_ath_tdma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath_tdma.c b/sys/dev/ath/if_ath_tdma.c
index f7a9995..104f777 100644
--- a/sys/dev/ath/if_ath_tdma.c
+++ b/sys/dev/ath/if_ath_tdma.c
@@ -158,6 +158,7 @@ ath_tdma_settimers(struct ath_softc *sc, u_int32_t nexttbtt, u_int32_t bintval)
bt.bt_nextatim);
#endif
+#ifdef ATH_DEBUG_ALQ
if (if_ath_alq_checkdebug(&sc->sc_alq, ATH_ALQ_TDMA_TIMER_SET)) {
struct if_ath_alq_tdma_timer_set t;
t.bt_intval = htobe32(bt.bt_intval);
@@ -171,6 +172,7 @@ ath_tdma_settimers(struct ath_softc *sc, u_int32_t nexttbtt, u_int32_t bintval)
if_ath_alq_post(&sc->sc_alq, ATH_ALQ_TDMA_TIMER_SET,
sizeof(t), (char *) &t);
}
+#endif
DPRINTF(sc, ATH_DEBUG_TDMA_TIMER,
"%s: nexttbtt=%u (0x%08x), nexttbtt tsf=%lld (0x%08llx)\n",
OpenPOWER on IntegriCloud