summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-03-19 03:09:21 +0000
committeradrian <adrian@FreeBSD.org>2011-03-19 03:09:21 +0000
commit895978da0663361ea49c729be904c420d2ba381f (patch)
treece82f3a6b08798c38292ae551cb1a5411f5c3a10
parent483d4d7b610e48120cf04aa8895927782952435e (diff)
downloadFreeBSD-src-895978da0663361ea49c729be904c420d2ba381f.zip
FreeBSD-src-895978da0663361ea49c729be904c420d2ba381f.tar.gz
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.
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar5416_reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
index da10121..b122117 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);
OpenPOWER on IntegriCloud