Skip to content

Commit 638ab50

Browse files
committed
fix(wifi): Fixes Initialization of Security Mode
1 parent f451344 commit 638ab50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WiFi/src/WiFiMulti.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ uint8_t WiFiMulti::run(uint32_t connectTimeout)
125125
int32_t bestIndex = 0;
126126
WifiAPlist_t bestNetwork { NULL, NULL, false };
127127
int bestNetworkDb = INT_MIN;
128-
int bestNetworkSec;
128+
int bestNetworkSec = WIFI_AUTH_MAX;
129129
uint8_t bestBSSID[6];
130130
int32_t bestChannel = 0;
131131

0 commit comments

Comments
 (0)