summaryrefslogtreecommitdiff
path: root/nuttx/net/uip
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/uip')
-rw-r--r--nuttx/net/uip/uip-tcpsend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/uip/uip-tcpsend.c b/nuttx/net/uip/uip-tcpsend.c
index 02123bc82..ef4a1b7af 100644
--- a/nuttx/net/uip/uip-tcpsend.c
+++ b/nuttx/net/uip/uip-tcpsend.c
@@ -199,8 +199,8 @@ static void uip_tcpsendcommon(struct uip_driver_s *dev, struct uip_conn *conn)
}
else
{
- BUF->wnd[0] = ((CONFIG_NET_TCP_CONNS) >> 8);
- BUF->wnd[1] = ((CONFIG_NET_TCP_CONNS) & 0xff);
+ BUF->wnd[0] = ((CONFIG_NET_RECEIVE_WINDOW) >> 8);
+ BUF->wnd[1] = ((CONFIG_NET_RECEIVE_WINDOW) & 0xff);
}
/* Finish the IP portion of the message, calculate checksums and send