diff options
author | Tom Rini <trini@konsulko.com> | 2021-01-19 14:46:45 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-19 14:46:45 -0500 |
commit | 9d13cd95f1df7d04f702975cdcdd8e087f71f74c (patch) | |
tree | ecdb97433ba17bf82c463affdf47ab96100cf64b /net/tftp.c | |
parent | db0dd72e27ce62c5b28f07595b91ed00d0565819 (diff) | |
parent | 1231184caacad32c180d7e2338a645f7dfe9571a (diff) |
Merge branch '2021-01-19-networking-improvements'
- e1000, ftgmac100: Add support for getting the MAC
- General networking improvements
- dwc_eth_qos, ks8851 fixes
Diffstat (limited to 'net/tftp.c')
-rw-r--r-- | net/tftp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/tftp.c b/net/tftp.c index 2cfa0b1486f..03079ded34e 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -630,8 +630,10 @@ static void tftp_handler(uchar *pkt, unsigned dest, struct in_addr sip, tftp_cur_block++; tftp_cur_block %= TFTP_SEQUENCE_SIZE; - if (tftp_state == STATE_SEND_RRQ) + if (tftp_state == STATE_SEND_RRQ) { debug("Server did not acknowledge any options!\n"); + tftp_next_ack = tftp_windowsize; + } if (tftp_state == STATE_SEND_RRQ || tftp_state == STATE_OACK || tftp_state == STATE_RECV_WRQ) { |