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

Adrian Chadd adrian at FreeBSD.org
Mon Apr 8 21:15:44 UTC 2013


Author: adrian
Date: Mon Apr  8 21:15:43 2013
New Revision: 249284
URL: http://svnweb.freebsd.org/changeset/base/249284

Log:
  Fix this to compile when ATH_DEBUG_ALQ is defined but ATH_DEBUG isn't.

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

Modified: head/sys/dev/ath/if_ath_tx_edma.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx_edma.c	Mon Apr  8 20:45:11 2013	(r249283)
+++ head/sys/dev/ath/if_ath_tx_edma.c	Mon Apr  8 21:15:43 2013	(r249284)
@@ -636,7 +636,7 @@ ath_edma_tx_processq(struct ath_softc *s
 			break;
 		}
 
-#ifdef	ATH_DEBUG_ALQ
+#if defined(ATH_DEBUG_ALQ) && defined(ATH_DEBUG)
 		if (if_ath_alq_checkdebug(&sc->sc_alq, ATH_ALQ_EDMA_TXSTATUS))
 			if_ath_alq_post(&sc->sc_alq, ATH_ALQ_EDMA_TXSTATUS,
 			    sc->sc_tx_statuslen,


More information about the svn-src-all mailing list