diff options
-rw-r--r-- | nuttx/ChangeLog | 2 | ||||
-rw-r--r-- | nuttx/net/net_close.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 245aa4a30..c63b44110 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -5775,4 +5775,6 @@ TLC from David Sidrane (2013-10-16). * drivers/mtd/sst25.c: Add support for the SST25VF016B. From David Sidrane (2013-10-16). + * net/net_close.c: Changed net_close debug output to verbose. From + Max Holtzberg (2013-10-17). diff --git a/nuttx/net/net_close.c b/nuttx/net/net_close.c index 1efe3094d..04735f4d9 100644 --- a/nuttx/net/net_close.c +++ b/nuttx/net/net_close.c @@ -86,7 +86,7 @@ static uint16_t netclose_interrupt(FAR struct uip_driver_s *dev, DEBUGASSERT(conn != NULL); - nlldbg("conn: %p flags: %04x\n", conn, flags); + nllvdbg("conn: %p flags: %04x\n", conn, flags); /* UIP_CLOSE: The remote host has closed the connection * UIP_ABORT: The remote host has aborted the connection @@ -152,7 +152,7 @@ static inline void netclose_disconnect(FAR struct socket *psock) /* Check for the case where the host beat us and disconnected first */ - if (conn->tcpstateflags == UIP_ESTABLISHED && + if (conn->tcpstateflags == UIP_ESTABLISHED && (cb = uip_tcpcallbackalloc(conn)) != NULL) { /* Set up to receive TCP data event callbacks */ |