diff options
Diffstat (limited to 'lwip/src/api/api_msg.c')
-rw-r--r-- | lwip/src/api/api_msg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lwip/src/api/api_msg.c b/lwip/src/api/api_msg.c index 3953102..3f08e03 100644 --- a/lwip/src/api/api_msg.c +++ b/lwip/src/api/api_msg.c @@ -716,6 +716,9 @@ netconn_alloc(enum netconn_type t, netconn_callback callback) conn->pending_err = ERR_OK; conn->type = t; conn->pcb.tcp = NULL; +#if LWIP_NETCONN_FULLDUPLEX + conn->mbox_threads_waiting = 0; +#endif /* If all sizes are the same, every compiler should optimize this switch to nothing */ switch (NETCONNTYPE_GROUP(t)) { |