diff --git a/net/udp/Kconfig b/net/udp/Kconfig index 030a0e6cba..b2606e1fce 100644 --- a/net/udp/Kconfig +++ b/net/udp/Kconfig @@ -20,7 +20,7 @@ config NET_UDP_NO_STACK ---help--- Build without UDP/IP stack even if UDP networking support enabled. -if NET_UDP +if NET_UDP && !NET_UDP_NO_STACK config NET_BROADCAST bool "UDP broadcast Rx support" @@ -28,10 +28,6 @@ config NET_BROADCAST ---help--- Incoming UDP broadcast support -endif # NET_UDP - -if NET_UDP && !NET_UDP_NO_STACK - config NET_UDP_CHECKSUMS bool "UDP checksums" default y if NET_IPv6