From f81d18f2eff651f415da45ef0e966b044fa2a603 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Sun, 30 Nov 2008 07:24:36 +0000 Subject: [PATCH] make code compile --- ar5212/ar5212_xmit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ar5212/ar5212_xmit.c b/ar5212/ar5212_xmit.c index 43d396953e8..43c912bab0c 100644 --- a/ar5212/ar5212_xmit.c +++ b/ar5212/ar5212_xmit.c @@ -548,10 +548,10 @@ ar5212NumTxPending(struct ath_hal *ah, u_int q) if (OS_REG_READ(ah, AR_Q_TXE) & (1 << q)) npend = 1; /* arbitrarily return 1 */ } -#ifdef DEBUG +#ifdef AH_DEBUG if (npend && (AH5212(ah)->ah_txq[q].tqi_type == HAL_TX_QUEUE_CAB)) { if (OS_REG_READ(ah, AR_Q_RDYTIMESHDN) & (1 << q)) { - isrPrintf("RTSD on CAB queue\n"); + ath_hal_printf(ah, "RTSD on CAB queue\n"); /* Clear the ReadyTime shutdown status bits */ OS_REG_WRITE(ah, AR_Q_RDYTIMESHDN, 1 << q); }