summaryrefslogtreecommitdiff
path: root/nuttx/net/net_close.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/net_close.c')
-rw-r--r--nuttx/net/net_close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/net_close.c b/nuttx/net/net_close.c
index dce87ba47..10f7e199e 100644
--- a/nuttx/net/net_close.c
+++ b/nuttx/net/net_close.c
@@ -176,7 +176,7 @@ static inline void netclose_disconnect(FAR struct socket *psock)
/* Notify the device driver of the availaibilty of TX data */
- netdev_txnotify(&conn->ripaddr);
+ netdev_txnotify(conn->ripaddr);
/* Wait for the disconnect event */