mirror of
https://github.com/apache/nuttx.git
synced 2026-09-20 12:58:29 +08:00
Update to previous change from Max Holtzberg
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ NETDEV_CSRCS = netdev_register.c netdev_ioctl.c net_poll.c netdev_txnotify.c \
|
||||
netdev_foreach.c netdev_unregister.c netdev_sem.c
|
||||
|
||||
ifeq ($(CONFIG_NET_RXAVAIL),y)
|
||||
NETDEV_CSRCS +=netdev_rxnotify.c
|
||||
NETDEV_CSRCS += netdev_rxnotify.c
|
||||
endif
|
||||
|
||||
include uip/Make.defs
|
||||
|
||||
+1
-1
@@ -138,7 +138,7 @@ int net_startmonitor(FAR struct socket *psock)
|
||||
* the monitoring callback.)
|
||||
*/
|
||||
|
||||
if (conn->tcpstateflags == UIP_CLOSED)
|
||||
if ((conn->tcpstateflags & UIP_CLOSED) != 0)
|
||||
{
|
||||
connection_event(conn, UIP_CLOSE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user