summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-10-17 09:13:31 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-10-17 09:13:31 -0600
commitb08dd365d6f335e76140691e5eb0f5ba59c7f9f4 (patch)
tree96cf9dc4fb9a77fc7b1495e07fc44fcbf41f4f4b
parentd52f998bdb14d48e9436bec77646b3e00ac59fe0 (diff)
downloadnuttx-b08dd365d6f335e76140691e5eb0f5ba59c7f9f4.tar.gz
nuttx-b08dd365d6f335e76140691e5eb0f5ba59c7f9f4.tar.bz2
nuttx-b08dd365d6f335e76140691e5eb0f5ba59c7f9f4.zip
Changed net_close debug output to verbose. From Max Holtzberg (2013-10-17)
-rw-r--r--nuttx/ChangeLog2
-rw-r--r--nuttx/net/net_close.c4
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 */