diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-12 15:36:28 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-12 15:36:28 +0000 |
commit | e6f93f774080d42c3f954a862709d047df2d7e7a (patch) | |
tree | 487b0ec566d911458a00e1803392b817e84b7809 /nuttx/net/send.c | |
parent | 95317af605c883b464a4c5b524632193614bfd24 (diff) | |
download | px4-nuttx-e6f93f774080d42c3f954a862709d047df2d7e7a.tar.gz px4-nuttx-e6f93f774080d42c3f954a862709d047df2d7e7a.tar.bz2 px4-nuttx-e6f93f774080d42c3f954a862709d047df2d7e7a.zip |
More support for SLIP data link protocol
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3370 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/net/send.c')
-rw-r--r-- | nuttx/net/send.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/net/send.c b/nuttx/net/send.c index b3f137376..475344c03 100644 --- a/nuttx/net/send.c +++ b/nuttx/net/send.c @@ -1,7 +1,7 @@ /**************************************************************************** * net/send.c * - * Copyright (C) 2007-2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -277,6 +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 (pstate->snd_sent != 0 || uip_arp_find(conn->ripaddr) != NULL) #endif @@ -293,6 +294,7 @@ 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 |