summaryrefslogtreecommitdiff
path: root/net/tftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tftp.c')
-rw-r--r--net/tftp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tftp.c b/net/tftp.c
index 8f948204a6f..fd9c9492929 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -478,6 +478,7 @@ static void tftp_handler(uchar *pkt, unsigned dest, struct in_addr sip,
case TFTP_ACK:
#ifdef CONFIG_CMD_TFTPPUT
if (tftp_put_active) {
+ timeout_count = 0;
if (tftp_put_final_block_sent) {
tftp_complete();
} else {