summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_hal
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2010-08-12 08:39:54 +0000
committeradrian <adrian@FreeBSD.org>2010-08-12 08:39:54 +0000
commitab694183def890edb2892cdc8fc338e67a6ef742 (patch)
tree68b402a94af96adf6fc47c03b9e46f3d43ca439c /sys/dev/ath/ath_hal
parentade28bdd4036313b9b17b915d917a7851f02122f (diff)
downloadFreeBSD-src-ab694183def890edb2892cdc8fc338e67a6ef742.zip
FreeBSD-src-ab694183def890edb2892cdc8fc338e67a6ef742.tar.gz
* Fix indentation
* Restore comment erroneously deleted from the previous commit
Diffstat (limited to 'sys/dev/ath/ath_hal')
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar5416_cal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c b/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c
index af9da72..2b30a60 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c
+++ b/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c
@@ -562,6 +562,7 @@ ar5416LoadNF(struct ath_hal *ah, const struct ieee80211_channel *chan)
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 struct ieee80211_channel *chan)
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;
}
/*
OpenPOWER on IntegriCloud