diff --git a/main/main.ino b/main/main.ino index 4958e43155..45f5a165f9 100644 --- a/main/main.ino +++ b/main/main.ino @@ -2307,7 +2307,7 @@ void setupWiFiManager() { esp_wifi_set_config(WIFI_IF_AP, &conf); # endif - bool shouldRestart = (gatewayState != GatewayState::BROKER_CONNECTED && gatewayState != GatewayState::NTWK_CONNECTED); + bool shouldRestart = (gatewayState != GatewayState::BROKER_CONNECTED && !ethConnected && gatewayState != GatewayState::NTWK_CONNECTED); # ifdef USE_BLUFI shouldRestart = shouldRestart && !isStaConnecting();