diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-09-06 09:34:14 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-09-06 09:34:14 -0600 |
commit | 1e205dcb3cffced05d77eeec92e48deaffb478c7 (patch) | |
tree | 3762055cb841ab6f554cb88905b07532625a1329 /nuttx | |
parent | 8601e2839ecae85978c6dd0aa372fb5ee2f1e4c6 (diff) | |
download | px4-nuttx-1e205dcb3cffced05d77eeec92e48deaffb478c7.tar.gz px4-nuttx-1e205dcb3cffced05d77eeec92e48deaffb478c7.tar.bz2 px4-nuttx-1e205dcb3cffced05d77eeec92e48deaffb478c7.zip |
Update to previous change from Max Holtzberg
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/net/Makefile | 2 | ||||
-rw-r--r-- | nuttx/net/net_monitor.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/Makefile b/nuttx/net/Makefile index 5c4812b9c..46ad34afa 100644 --- a/nuttx/net/Makefile +++ b/nuttx/net/Makefile @@ -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 diff --git a/nuttx/net/net_monitor.c b/nuttx/net/net_monitor.c index 12907fa42..cf4ffd73f 100644 --- a/nuttx/net/net_monitor.c +++ b/nuttx/net/net_monitor.c @@ -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); } |