net/udp: NET_BROADCAST shouldn't configurable if NET_UDP_NO_STACK enable
@@ -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
