Skip to content

Commit 6afed10

Browse files
JianyuWang0623xiaoxiang781216
authored andcommitted
system/fastboot: add depends for TCP poll
Add TCP backlog dependence for poll(), network related configurations referenced to may has not enable it, without which the TCP handshake will fail. Signed-off-by: wangjianyu3 <[email protected]>
1 parent 11cf421 commit 6afed10

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

system/fastboot/Kconfig

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
menuconfig SYSTEM_FASTBOOTD
77
bool "fastbootd"
88
default n
9-
depends on USBFASTBOOT || NET_TCP
9+
depends on USBFASTBOOT || (NET_TCP && NET_TCPBACKLOG)
1010
---help---
11-
support usb fastboot function.
11+
Enable Fastboot daemon.
12+
The USB transport depends on USBFASTBOOT.
13+
The TCP network transport depends on NET_TCP and NET_TCPBACKLOG.
1214

1315
if SYSTEM_FASTBOOTD
1416

0 commit comments

Comments
 (0)