aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2012-11-07 16:34:09 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2012-11-07 16:34:09 +0000
commit89d2e576a4bb5b637b549bb8089c2b406341461b (patch)
treeb6dd19c0da786a308ac0ea0fca2c131d1fdc931e /sys/dev
parentfd9635ef7a76bf988729926cf338e2027c5464b0 (diff)
downloadsrc-89d2e576a4bb5b637b549bb8089c2b406341461b.tar.gz
src-89d2e576a4bb5b637b549bb8089c2b406341461b.zip
Don't compile in my (not yet committed) ath_alq code unless ATH_DEBUG_ALQ
is defined. This will unbreak ATH_DEBUG builds.
Notes
Notes: svn path=/head/; revision=242698
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ath/if_ath.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 5ed7d773720d..41b310891aee 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -117,7 +117,7 @@ __FBSDID("$FreeBSD$");
#include <dev/ath/ath_tx99/ath_tx99.h>
#endif
-#ifdef ATH_DEBUG
+#ifdef ATH_DEBUG_ALQ
#include <dev/ath/if_ath_alq.h>
#endif
@@ -888,7 +888,7 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
/*
* Setup the ALQ logging if required
*/
-#ifdef ATH_DEBUG
+#ifdef ATH_DEBUG_ALQ
if_ath_alq_init(&sc->sc_alq, device_get_nameunit(sc->sc_dev));
#endif
@@ -952,7 +952,7 @@ ath_detach(struct ath_softc *sc)
#endif
ath_rate_detach(sc->sc_rc);
-#ifdef ATH_DEBUG
+#ifdef ATH_DEBUG_ALQ
if_ath_alq_tidyup(&sc->sc_alq);
#endif