提交 7c968116 编写于 作者: Y YOUR_NAME

fix: fix conn->mbox_threads_waiting not init

fix conn->mbox_threads_waiting not init

close: #I4FRH7
Signed-off-by: Nliujiandong <liujiandong1@huawei.com>
上级 7968f340
......@@ -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)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册