svn commit: r211210 - head/sys/dev/ath/ath_hal/ar5416
Adrian Chadd
adrian at FreeBSD.org
Thu Aug 12 06:14:26 UTC 2010
Author: adrian
Date: Thu Aug 12 06:14:26 2010
New Revision: 211210
URL: http://svn.freebsd.org/changeset/base/211210
Log:
Use ar5212IsNFCalInProgress() to check for NF calibration progress.
Modified:
head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c
Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c Thu Aug 12 06:12:39 2010 (r211209)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c Thu Aug 12 06:14:26 2010 (r211210)
@@ -632,7 +632,7 @@ ar5416GetNf(struct ath_hal *ah, struct i
{
int16_t nf, nfThresh;
- if (OS_REG_READ(ah, AR_PHY_AGC_CONTROL) & AR_PHY_AGC_CONTROL_NF) {
+ if (ar5212IsNFCalInProgress(ah)) {
HALDEBUG(ah, HAL_DEBUG_ANY,
"%s: NF didn't complete in calibration window\n", __func__);
nf = 0;
More information about the svn-src-head
mailing list