diff options
Diffstat (limited to 'nuttx/net/net-close.c')
-rw-r--r-- | nuttx/net/net-close.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/net/net-close.c b/nuttx/net/net-close.c index f64d70de7..8d1be9099 100644 --- a/nuttx/net/net-close.c +++ b/nuttx/net/net-close.c @@ -165,6 +165,10 @@ static inline void netclose_disconnect(FAR struct socket *psock) conn->data_private = (void*)&state; conn->data_event = netclose_interrupt; + /* Notify the device driver of the availaibilty of TX data */ + + netdev_txnotify(&conn->ripaddr); + /* Wait for the disconnect event */ (void)sem_wait(&state.cl_sem); |