Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2013 21:15:43 +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: r249284 - head/sys/dev/ath
Message-ID:  <201304082115.r38LFhN8025149@svn.freebsd.org>

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



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