diff --git a/src/kernel/drivers/WiFiDriver.hpp b/src/kernel/drivers/WiFiDriver.hpp index 726087e6..af879105 100644 --- a/src/kernel/drivers/WiFiDriver.hpp +++ b/src/kernel/drivers/WiFiDriver.hpp @@ -18,8 +18,6 @@ namespace farmhub::kernel::drivers { class WiFiDriver { public: WiFiDriver(StateSource& networkReady, StateSource& configPortalRunning, const String& hostname) { - WiFi.mode(WIFI_STA); - WiFi.setHostname(hostname.c_str()); wifiManager.setHostname(hostname.c_str()); wifiManager.setConfigPortalTimeout(180); wifiManager.setAPCallback([this, &configPortalRunning](WiFiManager* wifiManager) {