Remove redundant esp_netif_init

This commit is contained in:
Rapsssito
2026-05-20 09:07:57 +02:00
parent be3ccd29f6
commit 9bfae9e782
@@ -634,9 +634,6 @@ void WiFiComponent::setup() {
if (this->enable_on_boot_) {
this->start();
} else {
#ifdef USE_ESP32
esp_netif_init();
#endif
this->state_ = WIFI_COMPONENT_STATE_DISABLED;
}
}