mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Initialise an uninitialised variable.
This commit is contained in:
parent
f8d6c20a0f
commit
943e37a120
1 changed files with 2 additions and 1 deletions
|
|
@ -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) {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue