diff options
Diffstat (limited to 'nuttx/net/socket/sendto.c')
-rw-r--r-- | nuttx/net/socket/sendto.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/net/socket/sendto.c b/nuttx/net/socket/sendto.c index 09a5dd7d4..ae2884816 100644 --- a/nuttx/net/socket/sendto.c +++ b/nuttx/net/socket/sendto.c @@ -417,9 +417,13 @@ ssize_t psock_sendto(FAR struct socket *psock, FAR const void *buf, state.st_cb->priv = (void*)&state; state.st_cb->event = sendto_interrupt; - /* Notify the device driver of the availabilty of TX data */ + /* Notify the device driver of the availability of TX data */ +#ifdef CONFIG_NET_MULTILINK + netdev_txnotify(conn->lipaddr, conn->ripaddr); +#else netdev_txnotify(conn->ripaddr); +#endif /* Wait for either the receive to complete or for an error/timeout to occur. * NOTES: (1) net_lockedwait will also terminate if a signal is received, (2) |