Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2012 05:52:08 +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: r243597 - head/sys/dev/ath
Message-ID:  <201211270552.qAR5q8jt090941@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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",



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