comment out full wifi scan

This commit is contained in:
helgeerbe 2023-03-01 12:09:53 +01:00
parent 4a51ae5038
commit 6241a31e8c

View File

@ -121,8 +121,10 @@ void NetworkSettingsClass::setupMode()
dnsServer->stop();
dnsServerStatus = false;
if (_networkMode == network_mode::WiFi) {
/* // TODO (helge) check if this makes problems to connect to the ap
WiFi.setScanMethod(WIFI_ALL_CHANNEL_SCAN);
WiFi.setSortMethod(WIFI_CONNECT_AP_BY_SIGNAL);
*/
WiFi.mode(WIFI_STA);
} else {
WiFi.mode(WIFI_MODE_NULL);