summaryrefslogtreecommitdiff
path: root/nuttx/net/tcp/tcp_poll.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-06 16:10:26 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-06 16:10:26 -0600
commit02fcad9f51a6919c21ca44ed0c417446bb4082c9 (patch)
tree4f09be381f2f799ebf1fc98712c04efba831d3c0 /nuttx/net/tcp/tcp_poll.c
parent47df79c8e4a1ce4809f5213d63f7c26d4d8d9cb7 (diff)
downloadpx4-nuttx-02fcad9f51a6919c21ca44ed0c417446bb4082c9.tar.gz
px4-nuttx-02fcad9f51a6919c21ca44ed0c417446bb4082c9.tar.bz2
px4-nuttx-02fcad9f51a6919c21ca44ed0c417446bb4082c9.zip
NET: Rename TCP state values: UIP_ -> TCP_
Diffstat (limited to 'nuttx/net/tcp/tcp_poll.c')
-rw-r--r--nuttx/net/tcp/tcp_poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/tcp/tcp_poll.c b/nuttx/net/tcp/tcp_poll.c
index fbd1af3e7..4899e47d4 100644
--- a/nuttx/net/tcp/tcp_poll.c
+++ b/nuttx/net/tcp/tcp_poll.c
@@ -99,7 +99,7 @@ void tcp_poll(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn)
/* Verify that the connection is established */
- if ((conn->tcpstateflags & UIP_TS_MASK) == UIP_ESTABLISHED)
+ if ((conn->tcpstateflags & TCP_STATE_MASK) == TCP_ESTABLISHED)
{
/* Set up for the callback */