net/udp: NET_BROADCAST shouldn't configurable if NET_UDP_NO_STACK enable

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-11-20 07:03:49 +08:00 committed by Masayuki Ishikawa
parent c2f566afcb
commit 7f380533a3

View File

@ -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