mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
net/arp: Do not run net_start_again() on timeout
net_start_again() will be called from net_loop() if state is NETLOOP_FAIL. Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
c56eb57316
commit
943231119f
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ void arp_timeout_check(void)
|
|||
if (arp_wait_try >= ARP_TIMEOUT_COUNT) {
|
||||
puts("\nARP Retry count exceeded; starting again\n");
|
||||
arp_wait_try = 0;
|
||||
net_start_again();
|
||||
net_set_state(NETLOOP_FAIL);
|
||||
} else {
|
||||
arp_wait_timer_start = t;
|
||||
arp_request();
|
||||
|
|
Loading…
Reference in a new issue