diff options
| author | Adrian Chadd <adrian@FreeBSD.org> | 2012-10-05 16:44:00 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2012-10-05 16:44:00 +0000 |
| commit | 943e37a120b1c8fdbfe4707dc0c8a2bbc3dfa3a9 (patch) | |
| tree | 2dc89e29c32a8aefc5b3a66516a45b09b9018fbf | |
| parent | f8d6c20a0f02e7ee63b21404d86219e231010961 (diff) | |
Notes
| -rw-r--r-- | sys/dev/ath/if_ath.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 1e83283c6cc4c..9e4e7c8622f9b 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -4350,7 +4350,7 @@ ath_calibrate(void *arg) struct ath_hal *ah = sc->sc_ah; struct ifnet *ifp = sc->sc_ifp; struct ieee80211com *ic = ifp->if_l2com; - HAL_BOOL longCal, isCalDone; + HAL_BOOL longCal, isCalDone = AH_TRUE; HAL_BOOL aniCal, shortCal = AH_FALSE; int nextcal; @@ -4400,6 +4400,7 @@ ath_calibrate(void *arg) /* Only call if we're doing a short/long cal, not for ANI calibration */ if (shortCal || longCal) { + isCalDone = AH_FALSE; if (ath_hal_calibrateN(ah, sc->sc_curchan, longCal, &isCalDone)) { if (longCal) { /* |
