From b1dd5d1189809a7abf321b5b57ac2aaa58eb64c4 Mon Sep 17 00:00:00 2001 From: Petro Karashchenko Date: Sun, 2 Jul 2023 21:47:46 +0300 Subject: [PATCH] drivers/wireles/gs2200m: add NET_TCP dependency to NFS_DONT_BIND_TCP_SOCKET option The NFS_DONT_BIND_TCP_SOCKET should be selected only TCP networking is enabled Signed-off-by: Petro Karashchenko --- drivers/wireless/Kconfig | 2 +- fs/nfs/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/wireless/Kconfig b/drivers/wireless/Kconfig index 49c3a97f15..a074cdbbb1 100644 --- a/drivers/wireless/Kconfig +++ b/drivers/wireless/Kconfig @@ -35,7 +35,7 @@ config WL_GS2200M select LIBC_SCANSET select SCHED_LPWORK select DRIVERS_IEEE80211 - select NFS_DONT_BIND_TCP_SOCKET if NFS + select NFS_DONT_BIND_TCP_SOCKET if NFS && NET_TCP if WL_GS2200M diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig index 56f4ab409a..fcc6483d75 100644 --- a/fs/nfs/Kconfig +++ b/fs/nfs/Kconfig @@ -16,7 +16,7 @@ config NFS config NFS_DONT_BIND_TCP_SOCKET bool default n - depends on NFS + depends on NET_TCP ---help--- Some network drivers such as GS2200M do not support to bind a local port for TCP client socket. In this case, this config