Track the last ANI TX/RX sample correctly.

This doesn't specifically fix the issue(s) i'm seeing in this 2GHz
environment (where setting/increasing spur immunity causes OFDM restart
errors to skyrocket through the roof; but leaving it at 0 would leave
the environment cleaner..)

Pointy-hat-to:	me, for committing this broken code in the first place.
This commit is contained in:
Adrian Chadd 2012-09-27 06:05:54 +00:00
parent 703205f3c6
commit 08977788d5

View File

@ -874,8 +874,8 @@ ar5416AniGetListenTime(struct ath_hal *ah)
*/
if (ANI_ENA(ah)) {
aniState->cycleCount = AH5416(ah)->ah_cycleCount;
aniState->txFrameCount = AH5416(ah)->ah_rxBusy;
aniState->rxFrameCount = AH5416(ah)->ah_txBusy;
aniState->rxFrameCount = AH5416(ah)->ah_rxBusy;
aniState->txFrameCount = AH5416(ah)->ah_txBusy;
}
return listenTime;