svn commit: r211214 - head/sys/dev/ath/ath_hal/ar5416

Adrian Chadd adrian at FreeBSD.org
Thu Aug 12 08:39:54 UTC 2010


Author: adrian
Date: Thu Aug 12 08:39:54 2010
New Revision: 211214
URL: http://svn.freebsd.org/changeset/base/211214

Log:
  * Fix indentation
  * Restore comment erroneously deleted from the previous commit

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 08:36:23 2010	(r211213)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c	Thu Aug 12 08:39:54 2010	(r211214)
@@ -562,6 +562,7 @@ ar5416LoadNF(struct ath_hal *ah, const s
 	OS_REG_CLR_BIT(ah, AR_PHY_AGC_CONTROL, AR_PHY_AGC_CONTROL_NO_UPDATE_NF);
 	OS_REG_SET_BIT(ah, AR_PHY_AGC_CONTROL, AR_PHY_AGC_CONTROL_NF);
 
+	/* Wait for load to complete, should be fast, a few 10s of us. */
 	if (! ar5212WaitNFCalComplete(ah, 1000)) {
 		/*
 		 * We timed out waiting for the noisefloor to load, probably due to an
@@ -575,7 +576,7 @@ ar5416LoadNF(struct ath_hal *ah, const s
 		HALDEBUG(ah, HAL_DEBUG_ANY, "Timeout while waiting for nf "
 		    "to load: AR_PHY_AGC_CONTROL=0x%x\n",
 		    OS_REG_READ(ah, AR_PHY_AGC_CONTROL));
-		    return;
+		return;
 	}
 
 	/*


More information about the svn-src-head mailing list