From dbe7cf3bbc334cf8a74a8c47eeeb5e653e5f798f Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Tue, 16 Oct 2018 03:54:55 -0300 Subject: [PATCH] Fix Some Wifi Connection Issues https://github.com/arendst/Sonoff-Tasmota/issues/4044 --- sonoff/support.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/support.ino b/sonoff/support.ino index 6dd6776f0..92068504f 100644 --- a/sonoff/support.ino +++ b/sonoff/support.ino @@ -1349,7 +1349,7 @@ void WifiBegin(uint8_t flag) AddLog_P(LOG_LEVEL_DEBUG, S_LOG_WIFI, PSTR(D_PATCH_ISSUE_2186)); WiFi.mode(WIFI_OFF); // See https://github.com/esp8266/Arduino/issues/2186 #endif - + WiFi.persistent(false); // Solve possible wifi init errors WiFi.disconnect(true); // Delete SDK wifi config delay(200); WiFi.mode(WIFI_STA); // Disable AP mode