diff --git a/ChangeLog b/ChangeLog index 245aa4a309e..c63b44110fa 100644 --- a/ChangeLog +++ b/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/net/net_close.c b/net/net_close.c index 1efe3094df2..04735f4d95b 100644 --- a/net/net_close.c +++ b/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 */