summaryrefslogtreecommitdiff
path: root/nuttx/net/net_send_unbuffered.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/net_send_unbuffered.c')
-rw-r--r--nuttx/net/net_send_unbuffered.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/nuttx/net/net_send_unbuffered.c b/nuttx/net/net_send_unbuffered.c
index 7d5a3e33a..db192d48f 100644
--- a/nuttx/net/net_send_unbuffered.c
+++ b/nuttx/net/net_send_unbuffered.c
@@ -52,13 +52,9 @@
#include <arch/irq.h>
#include <nuttx/clock.h>
-#include <nuttx/net/uip/uip-arp.h>
+#include <nuttx/net/arp.h>
#include <nuttx/net/uip/uip-arch.h>
-#ifdef CONFIG_NET_ARP_IPIN
-# include <nuttx/net/uip/uip-arp.h>
-#endif
-
#include "net_internal.h"
#include "uip/uip_internal.h"
@@ -392,7 +388,7 @@ static uint16_t send_interrupt(FAR struct uip_driver_s *dev, FAR void *pvconn,
*/
#if defined(CONFIG_NET_ETHERNET) && !defined(CONFIG_NET_ARP_IPIN)
- if (pstate->snd_sent != 0 || uip_arp_find(conn->ripaddr) != NULL)
+ if (pstate->snd_sent != 0 || arp_find(conn->ripaddr) != NULL)
#endif
{
/* Update the amount of data sent (but not necessarily ACKed) */