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.
This commit is contained in:
Adrian Chadd 2011-03-19 03:09:21 +00:00
parent 9082beb051
commit a85eaa7714
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219770

View File

@ -285,7 +285,7 @@ ar5416Reset(struct ath_hal *ah, HAL_OPMODE opmode,
ahp->ah_intrTxqs = 0; ahp->ah_intrTxqs = 0;
for (i = 0; i < AH_PRIVATE(ah)->ah_caps.halTotalQueues; i++) for (i = 0; i < AH_PRIVATE(ah)->ah_caps.halTotalQueues; i++)
ar5212ResetTxQueue(ah, i); ah->ah_resetTxQueue(ah, i);
ar5416InitIMR(ah, opmode); ar5416InitIMR(ah, opmode);
ar5212SetCoverageClass(ah, AH_PRIVATE(ah)->ah_coverageClass, 1); ar5212SetCoverageClass(ah, AH_PRIVATE(ah)->ah_coverageClass, 1);