projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: Fix netretry condition
[oweals/u-boot.git]
/
net
/
net.c
diff --git
a/net/net.c
b/net/net.c
index 4259c9e321d6905efef6ca5abe441e89943eab9f..8a9b69c6b0b098743609c6141040a1c1fb7a0850 100644
(file)
--- a/
net/net.c
+++ b/
net/net.c
@@
-683,7
+683,7
@@
int net_start_again(void)
retry_forever = 0;
}
- if ((!retry_forever) && (net_try_count >
=
retrycnt)) {
+ if ((!retry_forever) && (net_try_count > retrycnt)) {
eth_halt();
net_set_state(NETLOOP_FAIL);
/*