mirror of https://github.com/arendst/Tasmota.git
parent
7e162e6caf
commit
53717df2e9
|
@ -451,11 +451,12 @@ void WifiCheckIp(void)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default: // WL_IDLE_STATUS and WL_DISCONNECTED
|
default: // WL_IDLE_STATUS and WL_DISCONNECTED
|
||||||
Settings.channel = 0; // Disable stored AP
|
|
||||||
if (!Wifi.retry || ((Wifi.retry_init / 2) == Wifi.retry)) {
|
if (!Wifi.retry || ((Wifi.retry_init / 2) == Wifi.retry)) {
|
||||||
AddLog_P(LOG_LEVEL_INFO, S_LOG_WIFI, PSTR(D_CONNECT_FAILED_AP_TIMEOUT));
|
AddLog_P(LOG_LEVEL_INFO, S_LOG_WIFI, PSTR(D_CONNECT_FAILED_AP_TIMEOUT));
|
||||||
|
Settings.channel = 0; // Disable stored AP
|
||||||
} else {
|
} else {
|
||||||
if (!strlen(SettingsText(SET_STASSID1)) && !strlen(SettingsText(SET_STASSID2))) {
|
if (!strlen(SettingsText(SET_STASSID1)) && !strlen(SettingsText(SET_STASSID2))) {
|
||||||
|
Settings.channel = 0; // Disable stored AP
|
||||||
wifi_config_tool = WIFI_MANAGER; // Skip empty SSIDs and start Wifi config tool
|
wifi_config_tool = WIFI_MANAGER; // Skip empty SSIDs and start Wifi config tool
|
||||||
Wifi.retry = 0;
|
Wifi.retry = 0;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue