Skip to content
Snippets Groups Projects
Commit 08de18c1 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Network: Various fixes for clean compile with both Ethernet and SLIP

parent 2e55db36
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@
#include <nuttx/net/net.h>
#include <nuttx/net/netdev.h>
#include <nuttx/net/udp.h>
#include <nuttx/net/tcp.h>
#include "devif/devif.h"
#include "tcp/tcp.h"
......@@ -257,8 +258,8 @@ static uint16_t psock_connect_interrupt(FAR struct net_driver_s *dev,
* determine the correct initial MSS.
*/
DEBUGASSERT(psock->s_conn);
psock->s_conn->mss = TCP_INITIAL_MSS(dev);
DEBUGASSERT(pstate->tc_conn);
pstate->tc_conn->mss = TCP_INITIAL_MSS(dev);
#endif
/* Wake up the waiting thread */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment