From a54774f247df58a1824193b46f87c415f3b1f97b Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 27 Feb 2022 18:21:13 +0100 Subject: [PATCH] Add delay loop after WiFi.begin() Add delay loop after WiFi.begin() solving some Frotz!Bix issues (#14986) --- tasmota/support_wifi.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/support_wifi.ino b/tasmota/support_wifi.ino index 74a30a449..78c9ed843 100644 --- a/tasmota/support_wifi.ino +++ b/tasmota/support_wifi.ino @@ -226,6 +226,8 @@ void WifiBegin(uint8_t flag, uint8_t channel) AddLog(LOG_LEVEL_INFO, PSTR(D_LOG_WIFI D_CONNECTING_TO_AP "%d %s%s " D_IN_MODE " 11%c " D_AS " %s..."), Settings->sta_active +1, SettingsText(SET_STASSID1 + Settings->sta_active), stemp, pgm_read_byte(&kWifiPhyMode[WiFi.getPhyMode() & 0x3]), TasmotaGlobal.hostname); + WiFi.waitForConnectResult(1000); + #if LWIP_IPV6 for (bool configured = false; !configured;) { uint16_t cfgcnt = 0;