提交 d2c7e45d 编写于 作者: Y YOUR_NAME 提交者: 刘建东

fixed 7c968116 from https://gitee.com/life-liu/third_party_lwip/pulls/18

fix: fix conn->mbox_threads_waiting not init

fix conn->mbox_threads_waiting not init

close: #I4FRH7
Signed-off-by: Nliujiandong <liujiandong1@huawei.com>
上级 0568d219
......@@ -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.
先完成此消息的编辑!
想要评论请 注册