From 94e33b937211be75393f154a234ba254320312b5 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 11 Sep 2009 20:32:02 +0000 Subject: Remove check for outstanding un-ACKed data in TX poll git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2038 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/net/uip/uip_tcppoll.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'nuttx/net') diff --git a/nuttx/net/uip/uip_tcppoll.c b/nuttx/net/uip/uip_tcppoll.c index b851ba167..e64ea2935 100644 --- a/nuttx/net/uip/uip_tcppoll.c +++ b/nuttx/net/uip/uip_tcppoll.c @@ -96,12 +96,9 @@ void uip_tcppoll(struct uip_driver_s *dev, struct uip_conn *conn) { uint8 result; - /* Verify that the connection is established and if the connection has - * no outstanding (unacknowledged) sent data. - */ + /* Verify that the connection is established */ - if ((conn->tcpstateflags & UIP_TS_MASK) == UIP_ESTABLISHED && - !uip_outstanding(conn)) + if ((conn->tcpstateflags & UIP_TS_MASK) == UIP_ESTABLISHED) { /* Set up for the callback */ -- cgit v1.2.3