Skip to content

Commit c2384c5

Browse files
walidbadarcfriedt
authored andcommitted
wifi: esp32: simplify DHCP4 auto-negotiation Kconfig
Remove redundant NET_DHCPV4 dependency and add default behavior. Signed-off-by: Muhammad Waleed Badar <[email protected]>
1 parent 6430ad4 commit c2384c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/wifi/esp32/Kconfig.esp32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ config NET_MGMT_EVENT_STACK_SIZE
5151

5252
config ESP32_WIFI_STA_AUTO_DHCPV4
5353
bool "Automatically starts DHCP4 negotiation"
54-
depends on NET_DHCPV4
54+
default y if NET_DHCPV4
5555
depends on NET_IPV4
5656
help
5757
WiFi driver will automatically initiate DHCPV4 negotiation when connected.

0 commit comments

Comments
 (0)