From 9bfae9e7821433a0d349f31c6d3f81d81b543c87 Mon Sep 17 00:00:00 2001 From: Rapsssito Date: Wed, 20 May 2026 09:07:57 +0200 Subject: [PATCH] Remove redundant esp_netif_init --- esphome/components/wifi/wifi_component.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/esphome/components/wifi/wifi_component.cpp b/esphome/components/wifi/wifi_component.cpp index edfb93bba2..88ebd30ef6 100644 --- a/esphome/components/wifi/wifi_component.cpp +++ b/esphome/components/wifi/wifi_component.cpp @@ -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; } }