diff options
| author | Rui Paulo <rpaulo@FreeBSD.org> | 2010-06-10 20:36:30 +0000 |
|---|---|---|
| committer | Rui Paulo <rpaulo@FreeBSD.org> | 2010-06-10 20:36:30 +0000 |
| commit | 7b8d03e3a8c5e9cb451133c8fd68e14802c9edb7 (patch) | |
| tree | 0217858a42af5283168e996b7fbf1586028ce6b2 /sys/dev/ath/ath_hal | |
| parent | 378cb7d565a91c3f65d13d5c29c712ee39eb0eef (diff) | |
Notes
Diffstat (limited to 'sys/dev/ath/ath_hal')
| -rw-r--r-- | sys/dev/ath/ath_hal/ar5210/ar5210_reset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_hal/ar5210/ar5210_reset.c b/sys/dev/ath/ath_hal/ar5210/ar5210_reset.c index 43e97ede3bb5..a798f84c98a8 100644 --- a/sys/dev/ath/ath_hal/ar5210/ar5210_reset.c +++ b/sys/dev/ath/ath_hal/ar5210/ar5210_reset.c @@ -526,9 +526,10 @@ ar5210PerCalibrationN(struct ath_hal *ah, /* AGC calibration (this was added to make the NF threshold check work) */ OS_REG_WRITE(ah, AR_PHY_AGCCTL, OS_REG_READ(ah, AR_PHY_AGCCTL) | AR_PHY_AGC_CAL); - if (!ath_hal_wait(ah, AR_PHY_AGCCTL, AR_PHY_AGC_CAL, 0)) + if (!ath_hal_wait(ah, AR_PHY_AGCCTL, AR_PHY_AGC_CAL, 0)) { HALDEBUG(ah, HAL_DEBUG_ANY, "%s: AGC calibration timeout\n", __func__); + } /* Rewrite our AGC values we stored off earlier (return AGC to normal operation) */ OS_REG_WRITE(ah, 0x9858, reg9858); |
