projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c56eb57
)
net/arp: Do not run net_start_again() on timeout
author
Stefan Brüns
<stefan.bruens@rwth-aachen.de>
Sun, 30 Aug 2015 15:46:43 +0000
(17:46 +0200)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Wed, 28 Oct 2015 19:57:00 +0000
(14:57 -0500)
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>
net/arp.c
patch
|
blob
|
history
diff --git
a/net/arp.c
b/net/arp.c
index
b865570
..
b1f12bf
100644
(file)
--- a/
net/arp.c
+++ b/
net/arp.c
@@
-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_s
tart_again(
);
+ net_s
et_state(NETLOOP_FAIL
);
} else {
arp_wait_timer_start = t;
arp_request();