Back out part of write buffering change. David G reports that this causes problems connecting to a server

This commit is contained in:
Gregory Nutt 2014-02-15 08:07:43 -06:00
parent 1ed6677f57
commit d0782933b7
2 changed files with 4 additions and 2 deletions

View File

@ -6581,4 +6581,7 @@
the SAM4L Xplained Pro configuration (2014-2-12).
* arch/arm/src/stm32/stm32_serial.c: Fix cloned type: FLOWCONTROL
vs FLOWCONROL (2014-2-14).
* net/uip/uip_tcptimer.c: Back out a small part of the 6.33 write
buffering changed. David G says that this causes problems in
connecting to a server (2014-2-15).

View File

@ -134,8 +134,7 @@ void uip_tcptimer(struct uip_driver_s *dev, struct uip_conn *conn, int hsec)
* retransmit.
*/
if (conn->unacked > 0 &&
(conn->tcpstateflags & UIP_TS_MASK) == UIP_ESTABLISHED)
if (conn->unacked > 0)
{
/* The connection has outstanding data */