[PATCH] fs: tftp: don't duplicate timeout information

Baruch Siach baruch at tkos.co.il
Sun Aug 11 07:36:40 EDT 2013


Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
Untested.

 fs/tftp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/tftp.c b/fs/tftp.c
index 50efe0d..b641faf 100644
--- a/fs/tftp.c
+++ b/fs/tftp.c
@@ -40,7 +40,7 @@
 #define TFTP_RESEND_TIMEOUT	SECOND
 
 /* After this time without progress we will bail out */
-#define TFTP_TIMEOUT		(5 * SECOND)
+#define TFTP_TIMEOUT		(TIMEOUT * SECOND)
 
 /*
  *	TFTP operations.
-- 
1.8.4.rc2




More information about the barebox mailing list