mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 12:33:27 +08:00
Missed a place where NETDEV_DOWN needs to be added to notification flags
This commit is contained in:
+1
-1
@@ -342,7 +342,7 @@ int arp_send(in_addr_t ipaddr)
|
||||
|
||||
state.snd_sent = false;
|
||||
state.snd_result = -EBUSY;
|
||||
state.snd_cb->flags = ARP_POLL;
|
||||
state.snd_cb->flags = (ARP_POLL | NETDEV_DOWN);
|
||||
state.snd_cb->priv = (FAR void *)&state;
|
||||
state.snd_cb->event = arp_send_interrupt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user