summaryrefslogtreecommitdiff
path: root/nuttx/net/tcp/tcp_send_buffered.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/tcp/tcp_send_buffered.c')
-rw-r--r--nuttx/net/tcp/tcp_send_buffered.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/net/tcp/tcp_send_buffered.c b/nuttx/net/tcp/tcp_send_buffered.c
index d516262fa..c50b81040 100644
--- a/nuttx/net/tcp/tcp_send_buffered.c
+++ b/nuttx/net/tcp/tcp_send_buffered.c
@@ -824,7 +824,11 @@ ssize_t psock_tcp_send(FAR struct socket *psock, FAR const void *buf,
/* 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
result = len;
}