Skip to content

Commit

Permalink
fix for #1710
Browse files Browse the repository at this point in the history
  • Loading branch information
tablatronix committed Feb 15, 2024
1 parent 607dfdb commit 304d489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WiFiManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3830,7 +3830,7 @@ String WiFiManager::WiFi_psk(bool persistent) const {
#ifdef WM_DEBUG_LEVEL
if(info.wifi_sta_disconnected.reason == WIFI_REASON_NO_AP_FOUND) DEBUG_WM(WM_DEBUG_VERBOSE,F("[EVENT] WIFI_REASON: NO_AP_FOUND"));
if(info.wifi_sta_disconnected.reason == WIFI_REASON_ASSOC_FAIL){
if(_aggresiveReconn) _connectRetries+=4;
if(_aggresiveReconn & _connectRetries<4) _connectRetries=4;

This comment has been minimized.

Copy link
@rusty-labs

rusty-labs Feb 15, 2024

Do you mean && ?

DEBUG_WM(WM_DEBUG_VERBOSE,F("[EVENT] WIFI_REASON: AUTH FAIL"));
}
#endif
Expand Down

0 comments on commit 304d489

Please sign in to comment.