提交 94323111 编写于 作者: S Stefan Brüns 提交者: Joe Hershberger

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: NStefan Brüns <stefan.bruens@rwth-aachen.de>
Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
上级 c56eb573
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册