Changed net_close debug output to verbose. From Max Holtzberg (2013-10-17)

This commit is contained in:
Gregory Nutt 2013-10-17 09:13:31 -06:00
parent 5a298893d6
commit 408ff55b7e
2 changed files with 4 additions and 2 deletions

View File

@ -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).

View File

@ -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 */