svn commit: r243597 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Tue Nov 27 05:52:09 UTC 2012


Author: adrian
Date: Tue Nov 27 05:52:08 2012
New Revision: 243597
URL: http://svnweb.freebsd.org/changeset/base/243597

Log:
  Fix build

Modified:
  head/sys/dev/ath/if_ath_tdma.c

Modified: head/sys/dev/ath/if_ath_tdma.c
==============================================================================
--- head/sys/dev/ath/if_ath_tdma.c	Tue Nov 27 05:48:36 2012	(r243596)
+++ head/sys/dev/ath/if_ath_tdma.c	Tue Nov 27 05:52:08 2012	(r243597)
@@ -158,6 +158,7 @@ ath_tdma_settimers(struct ath_softc *sc,
 	    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,
 		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",


More information about the svn-src-all mailing list