From 8fcf897859b2a70679d264586a79d61b5bae478c Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 26 Jul 2016 18:29:56 +0200 Subject: [PATCH] AP Access problem BugFix --- examples/Wifinfo/Wifinfo.ino | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/Wifinfo/Wifinfo.ino b/examples/Wifinfo/Wifinfo.ino index f3ae30a..d52e456 100644 --- a/examples/Wifinfo/Wifinfo.ino +++ b/examples/Wifinfo/Wifinfo.ino @@ -475,6 +475,13 @@ int WifiHandleConn(boolean setup = false) DebuglnF("Error!"); Debugflush(); + // STA+AP Mode without connected to STA, autoconnect will search + // other frequencies while trying to connect, this is causing issue + // to AP mode, so disconnect will avoid this + + // Disable auto retry search channel + WiFi.disconnect(); + // SSID = hostname strcpy(ap_ssid, config.host ); DebugF("Switching to AP ");