Skip to content

Commit b8708ee

Browse files
jukkarnashif
authored andcommitted
net: tcp: Fix the CONFIG_NET_TCP_RETRY_COUNT help text
The help text was incorrect, we return -ETIMEDOUT instead of -ECONNRESET when retransmission timeout occurs. Signed-off-by: Jukka Rissanen <[email protected]>
1 parent aee2d1a commit b8708ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/net/ip/Kconfig.tcp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ config NET_TCP_RETRY_COUNT
113113
values are in the 0-31 range. It's highly recommended to not go
114114
below 9, though.
115115
Should a retransmission timeout occur, the receive callback is
116-
called with -ECONNRESET error code and the context is dereferenced.
116+
called with -ETIMEDOUT error code and the context is dereferenced.
117117

118118
config NET_TCP_MAX_SEND_WINDOW_SIZE
119119
int "Maximum sending window size to use"

0 commit comments

Comments
 (0)