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:
parent
c2f566afcb
commit
7f380533a3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue