Wolfgang Denk 60174746c6 Fix TFTP OACK code for short packets.
The old code had a loop limit overflow bug which caused a semi-
infinite loop for small packets, because in "i<len-8", "i" was signed,
but "len" was unsigned, and "len-8" became a huge number for small
values of "len".

This is a workaround which replaces broken commit 8f1bc284.

Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-08-31 10:01:51 +02:00
..
2007-08-13 23:07:53 -04:00
2007-08-14 09:47:27 +02:00
2004-02-27 00:07:27 +00:00
2002-07-20 20:14:13 +00:00
2005-04-01 00:25:43 +00:00
2007-08-31 10:01:51 +02:00
2000-12-28 11:02:30 +00:00