This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new b1dd5d1189 drivers/wireles/gs2200m: add NET_TCP dependency to
NFS_DONT_BIND_TCP_SOCKET option
b1dd5d1189 is described below
commit b1dd5d1189809a7abf321b5b57ac2aaa58eb64c4
Author: Petro Karashchenko <[email protected]>
AuthorDate: Sun Jul 2 21:47:46 2023 +0300
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 <[email protected]>
---
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