mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
make code compile
This commit is contained in:
parent
cd0c91eb32
commit
f81d18f2ef
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue