Skip to content

Commit

Permalink
Update WiFiMulti.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasssvaz authored Feb 2, 2024
1 parent c9bacfd commit a1c6367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/WiFi/src/WiFiMulti.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ uint8_t WiFiMulti::run(uint32_t connectTimeout, bool scanHidden)
for(uint32_t x = 0; x < APlist.size(); x++) {
WifiAPlist_t entry = APlist[x];

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

0 comments on commit a1c6367

Please sign in to comment.