diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2013-02-20 11:24:11 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2013-02-20 11:24:11 +0000 |
commit | 71d6fe723e2f1c42dc93aece38ae201057ce2b21 (patch) | |
tree | ad419f0c80c348a6645ec986cc40784f64edaa49 /sys/dev | |
parent | f274e91f675a82f166234fad28ca7dbaa1d2d8eb (diff) | |
download | src-71d6fe723e2f1c42dc93aece38ae201057ce2b21.tar.gz src-71d6fe723e2f1c42dc93aece38ae201057ce2b21.zip |
If any of the TX queues have underrun reporting enabled, enable
HAL_INT_TXURN in the interrupt mask register.
This should now allow for TXURN interrupts to be posted.
Notes
Notes:
svn path=/head/; revision=247030
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ath/ath_hal/ar5416/ar5416_interrupts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_interrupts.c b/sys/dev/ath/ath_hal/ar5416/ar5416_interrupts.c index 29aed1fc5616..631ca2fca2e5 100644 --- a/sys/dev/ath/ath_hal/ar5416/ar5416_interrupts.c +++ b/sys/dev/ath/ath_hal/ar5416/ar5416_interrupts.c @@ -307,6 +307,8 @@ ar5416SetInterrupts(struct ath_hal *ah, HAL_INT ints) mask |= AR_IMR_TXDESC; if (ahp->ah_txEolInterruptMask) mask |= AR_IMR_TXEOL; + if (ahp->ah_txUrnInterruptMask) + mask |= AR_IMR_TXURN; } if (ints & (HAL_INT_BMISC)) { mask |= AR_IMR_BCNMISC; |