SLIP is now basically functional

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3386 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-03-16 02:10:51 +00:00
parent 3bdbb5fcaa
commit 48b7fd9503
5 changed files with 27 additions and 8 deletions
+1 -3
View File
@@ -277,8 +277,7 @@ static uint16_t send_interrupt(struct uip_driver_s *dev, void *pvconn,
* should already be in the ARP table.
*/
#ifdef CONFIG_NET_ETHERNET
#ifndef CONFIG_NET_ARP_IPIN
#if defined(CONFIG_NET_ETHERNET) && defined (CONFIG_NET_ARP_IPIN)
if (pstate->snd_sent != 0 || uip_arp_find(conn->ripaddr) != NULL)
#endif
{
@@ -294,7 +293,6 @@ static uint16_t send_interrupt(struct uip_driver_s *dev, void *pvconn,
pstate->snd_time = g_system_timer;
#endif
}
#endif /* CONFIG_NET_ETHERNET */
}
/* All data has been send and we are just waiting for ACK or re-transmit