From b27e452be994b4dcea7e5a56c8b8cc054ff932c7 Mon Sep 17 00:00:00 2001 From: Muhammad Waleed Badar Date: Wed, 8 Oct 2025 01:49:21 +0500 Subject: [PATCH] wifi: esp32: simplify DHCP4 auto-negotiation Kconfig Remove redundant NET_DHCPV4 dependency and add default behavior. Signed-off-by: Muhammad Waleed Badar --- drivers/wifi/esp32/Kconfig.esp32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/wifi/esp32/Kconfig.esp32 b/drivers/wifi/esp32/Kconfig.esp32 index fdb27844894c8..a46d689cd7090 100644 --- a/drivers/wifi/esp32/Kconfig.esp32 +++ b/drivers/wifi/esp32/Kconfig.esp32 @@ -51,7 +51,7 @@ config NET_MGMT_EVENT_STACK_SIZE config ESP32_WIFI_STA_AUTO_DHCPV4 bool "Automatically starts DHCP4 negotiation" - depends on NET_DHCPV4 + default y if NET_DHCPV4 depends on NET_IPV4 help WiFi driver will automatically initiate DHCPV4 negotiation when connected.