summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-06-18 02:47:27 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-06-18 02:47:27 +0200
commit5b1dfe609c472b9b311ff3b135f4a5563d12848e (patch)
tree58ac3828912d21376d9f919d4aa0398004d44d2c
parent3b727ccb70d288b30d3af5d7964e703bc47b33fb (diff)
tftp: increase initial retry timeout from 50 to 100 ms
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/tftp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c
index f895d19f9..43ae13647 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -24,7 +24,8 @@
#define TFTP_BLKSIZE_DEFAULT 512 /* according to RFC 1350, don't change */
#define TFTP_BLKSIZE_DEFAULT_STR "512"
-#define TFTP_TIMEOUT_MS 50
+/* Was 50 ms but users asked to bump it up a bit */
+#define TFTP_TIMEOUT_MS 100
#define TFTP_MAXTIMEOUT_MS 2000
#define TFTP_NUM_RETRIES 12 /* number of backed-off retries */