diff options
Diffstat (limited to 'nuttx/net/socket/connect.c')
-rw-r--r-- | nuttx/net/socket/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/socket/connect.c b/nuttx/net/socket/connect.c index 51e4b8426..838cec0ba 100644 --- a/nuttx/net/socket/connect.c +++ b/nuttx/net/socket/connect.c @@ -259,7 +259,7 @@ static uint16_t psock_connect_interrupt(FAR struct net_driver_s *dev, */ DEBUGASSERT(pstate->tc_conn); - pstate->tc_conn->mss = TCP_INITIAL_MSS(dev); + pstate->tc_conn->mss = TCP_IPv4_INITIAL_MSS(dev); #endif /* Wake up the waiting thread */ |