diff --git a/net/tcp/Kconfig b/net/tcp/Kconfig index 290cbb41bdb..a6b98c41985 100644 --- a/net/tcp/Kconfig +++ b/net/tcp/Kconfig @@ -14,7 +14,7 @@ config NET_TCP config NET_TCP_NO_STACK bool "Disable TCP/IP Stack" - default n + default NET_USRSOCK_TCP if NET_USRSOCK select NET_TCP ---help--- Build without TCP/IP stack even if TCP networking support enabled. diff --git a/net/udp/Kconfig b/net/udp/Kconfig index e702423de31..e147b7a608a 100644 --- a/net/udp/Kconfig +++ b/net/udp/Kconfig @@ -15,7 +15,7 @@ config NET_UDP config NET_UDP_NO_STACK bool "Disable UDP/IP Stack" - default n + default NET_USRSOCK_UDP if NET_USRSOCK select NET_UDP ---help--- Build without UDP/IP stack even if UDP networking support enabled. diff --git a/net/usrsock/Kconfig b/net/usrsock/Kconfig index 1ce47e40fe9..7783eed40eb 100644 --- a/net/usrsock/Kconfig +++ b/net/usrsock/Kconfig @@ -76,12 +76,10 @@ config NET_USRSOCK_NPOLLWAITERS config NET_USRSOCK_UDP bool "User-space daemon provides UDP sockets" default n - select NET_UDP_NO_STACK config NET_USRSOCK_TCP bool "User-space daemon provides TCP sockets" default n - select NET_TCP_NO_STACK config NET_USRSOCK_ICMP bool "User-space daemon provides ICMP sockets"