diff options
Diffstat (limited to 'nuttx/net/socket/net_close.c')
-rw-r--r-- | nuttx/net/socket/net_close.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/net/socket/net_close.c b/nuttx/net/socket/net_close.c index 394cc6232..428f6590f 100644 --- a/nuttx/net/socket/net_close.c +++ b/nuttx/net/socket/net_close.c @@ -357,7 +357,11 @@ static inline int netclose_disconnect(FAR struct socket *psock) /* 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 #ifdef CONFIG_NET_SOLINGER /* Wait only if we are lingering */ |