summaryrefslogtreecommitdiff
path: root/nuttx/net/send.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-10-05 13:16:18 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-10-05 13:16:18 -0600
commite2f7a1a610753465c2f9f47054ce9365cd131289 (patch)
treef5f316db87c490f053f74d3232adec3736f74276 /nuttx/net/send.c
parent572252ef94d174774b2455c45657c8255bdf01f0 (diff)
downloadpx4-nuttx-e2f7a1a610753465c2f9f47054ce9365cd131289.tar.gz
px4-nuttx-e2f7a1a610753465c2f9f47054ce9365cd131289.tar.bz2
px4-nuttx-e2f7a1a610753465c2f9f47054ce9365cd131289.zip
netdev_findbyaddr() will not use a routing table if one is available. It will also make a better decision in the case there there is no routing table but only a single network interface.
Diffstat (limited to 'nuttx/net/send.c')
-rw-r--r--nuttx/net/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/send.c b/nuttx/net/send.c
index 3d18ecde5..d90b15b40 100644
--- a/nuttx/net/send.c
+++ b/nuttx/net/send.c
@@ -576,7 +576,7 @@ ssize_t psock_send(FAR struct socket *psock, FAR const void *buf, size_t len,
/* Notify the device driver of the availaibilty of TX data */
- netdev_txnotify(&conn->ripaddr);
+ netdev_txnotify(conn->ripaddr);
/* Wait for the send to complete or an error to occur: NOTES: (1)
* uip_lockedwait will also terminate if a signal is received, (2) interrupts