From 53717df2e96f40252f250e4f4dc24d08ab9275e2 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 7 Apr 2020 16:39:04 +0200 Subject: [PATCH] Fix wifi quick connect Fix wifi quick connect --- tasmota/support_wifi.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasmota/support_wifi.ino b/tasmota/support_wifi.ino index bcf967f82..c7ac57106 100644 --- a/tasmota/support_wifi.ino +++ b/tasmota/support_wifi.ino @@ -451,11 +451,12 @@ void WifiCheckIp(void) } break; default: // WL_IDLE_STATUS and WL_DISCONNECTED - Settings.channel = 0; // Disable stored AP if (!Wifi.retry || ((Wifi.retry_init / 2) == Wifi.retry)) { AddLog_P(LOG_LEVEL_INFO, S_LOG_WIFI, PSTR(D_CONNECT_FAILED_AP_TIMEOUT)); + Settings.channel = 0; // Disable stored AP } else { 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.retry = 0; } else {