AP Access problem BugFix
This commit is contained in:
parent
d2b5a16450
commit
8fcf897859
|
@ -475,6 +475,13 @@ int WifiHandleConn(boolean setup = false)
|
||||||
DebuglnF("Error!");
|
DebuglnF("Error!");
|
||||||
Debugflush();
|
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
|
// SSID = hostname
|
||||||
strcpy(ap_ssid, config.host );
|
strcpy(ap_ssid, config.host );
|
||||||
DebugF("Switching to AP ");
|
DebugF("Switching to AP ");
|
||||||
|
|
Loading…
Reference in New Issue