drivers: usbdev: Fix default value for RNDIS_NWRREQS

Summary:
- Change default value for RNDIS_NWRREQS based on NET_TCP_WRITE_BUFFERS

Impact:
- This commit affects RNDIS use cases

Testing:
- spresense:rndis with CONFIG_NET_TCP_WRITE_BUFFERS=y

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2020-08-08 13:08:20 +09:00 committed by Xiang Xiao
parent 974787270c
commit 3b76666a1e

View File

@ -744,7 +744,8 @@ if RNDIS
config RNDIS_NWRREQS
int "The number of write requests that can be in flight"
default 2
default 4 if NET_TCP_WRITE_BUFFERS
default 2 if !NET_TCP_WRITE_BUFFERS
---help---
The number of write/read requests that can be in flight