mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 18:56:10 +08:00
Changed net_close debug output to verbose. From Max Holtzberg (2013-10-17)
This commit is contained in:
@@ -5775,4 +5775,6 @@
|
|||||||
TLC from David Sidrane (2013-10-16).
|
TLC from David Sidrane (2013-10-16).
|
||||||
* drivers/mtd/sst25.c: Add support for the SST25VF016B. From David
|
* drivers/mtd/sst25.c: Add support for the SST25VF016B. From David
|
||||||
Sidrane (2013-10-16).
|
Sidrane (2013-10-16).
|
||||||
|
* net/net_close.c: Changed net_close debug output to verbose. From
|
||||||
|
Max Holtzberg (2013-10-17).
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -86,7 +86,7 @@ static uint16_t netclose_interrupt(FAR struct uip_driver_s *dev,
|
|||||||
|
|
||||||
DEBUGASSERT(conn != NULL);
|
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_CLOSE: The remote host has closed the connection
|
||||||
* UIP_ABORT: The remote host has aborted 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 */
|
/* 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)
|
(cb = uip_tcpcallbackalloc(conn)) != NULL)
|
||||||
{
|
{
|
||||||
/* Set up to receive TCP data event callbacks */
|
/* Set up to receive TCP data event callbacks */
|
||||||
|
|||||||
Reference in New Issue
Block a user