From a85eaa7714813ba4ef23298df7b9e63cb4e53568 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sat, 19 Mar 2011 03:09:21 +0000 Subject: [PATCH] Use the HAL method rather than directly calling ar5212ResetTxQueue(). Since ath9k does some slightly different bit fiddling when setting up the TX queues, it may that the TX queue setup/reset functions will need overriding later on. --- sys/dev/ath/ath_hal/ar5416/ar5416_reset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c index da10121f73ca..b12211731812 100644 --- a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c +++ b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c @@ -285,7 +285,7 @@ ar5416Reset(struct ath_hal *ah, HAL_OPMODE opmode, ahp->ah_intrTxqs = 0; for (i = 0; i < AH_PRIVATE(ah)->ah_caps.halTotalQueues; i++) - ar5212ResetTxQueue(ah, i); + ah->ah_resetTxQueue(ah, i); ar5416InitIMR(ah, opmode); ar5212SetCoverageClass(ah, AH_PRIVATE(ah)->ah_coverageClass, 1);