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 <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2023-07-02 21:47:46 +03:00 committed by Xiang Xiao
parent 57d521cc59
commit b1dd5d1189
2 changed files with 2 additions and 2 deletions

View File

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

View File

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