Commit 13fcdd84 authored by Adam Wujek's avatar Adam Wujek

sw/patches/uboot: decrease TFTP timeout from 50 seconds to 10 seconds

Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent a9c73abb
From 47873299fa3f04d24717cc12fb226ad1e388daa8 Mon Sep 17 00:00:00 2001
From: Adam Wujek <dev_public@wujek.eu>
Date: Wed, 17 Nov 2021 11:03:19 +0100
Subject: [PATCH] net/tftp: decrease TFTP timeout from 50 seconds to 10 seconds
Signed-off-by: Adam Wujek <dev_public@wujek.eu>
---
net/tftp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/tftp.c b/net/tftp.c
index 68ffd81414..8828c98014 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -20,7 +20,7 @@
/* Well known TFTP port # */
#define WELL_KNOWN_PORT 69
/* Millisecs to timeout for lost pkt */
-#define TIMEOUT 5000UL
+#define TIMEOUT 1000UL
#ifndef CONFIG_NET_RETRY_COUNT
/* # of timeouts before giving up */
# define TIMEOUT_COUNT 10
--
2.25.1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment