Skip to content

Commit a1c6367

Browse files
authored
Update WiFiMulti.cpp
1 parent c9bacfd commit a1c6367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/WiFi/src/WiFiMulti.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ uint8_t WiFiMulti::run(uint32_t connectTimeout, bool scanHidden)
174174
for(uint32_t x = 0; x < APlist.size(); x++) {
175175
WifiAPlist_t entry = APlist[x];
176176

177-
if(ssid_scan == entry.ssid || hidden_scan) { // SSID match
177+
if(ssid_scan == entry.ssid || hidden_scan) { // SSID match or hidden network found
178178
if (!hidden_scan) {
179179
log_v("known ssid: %s, has failed: %s", entry.ssid, entry.hasFailed ? "yes" : "no");
180180
foundCount++;

0 commit comments

Comments
 (0)