Skip to content

Commit 91451f5

Browse files
committedFeb 15, 2024·
typo #1710
1 parent 304d489 commit 91451f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎WiFiManager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3830,7 +3830,7 @@ String WiFiManager::WiFi_psk(bool persistent) const {
38303830
#ifdef WM_DEBUG_LEVEL
38313831
if(info.wifi_sta_disconnected.reason == WIFI_REASON_NO_AP_FOUND) DEBUG_WM(WM_DEBUG_VERBOSE,F("[EVENT] WIFI_REASON: NO_AP_FOUND"));
38323832
if(info.wifi_sta_disconnected.reason == WIFI_REASON_ASSOC_FAIL){
3833-
if(_aggresiveReconn & _connectRetries<4) _connectRetries=4;
3833+
if(_aggresiveReconn && _connectRetries<4) _connectRetries=4;
38343834
DEBUG_WM(WM_DEBUG_VERBOSE,F("[EVENT] WIFI_REASON: AUTH FAIL"));
38353835
}
38363836
#endif

0 commit comments

Comments
 (0)
Please sign in to comment.