From 8a81cb4ba02908079c76cf30ae9fb3ea9d93373a Mon Sep 17 00:00:00 2001 From: goldsimon Date: Sun, 22 Nov 2009 16:08:52 +0000 Subject: [PATCH] Fixed bug #27955: netconn_close may nether return when LWIP_TCPIP_CORE_LOCKING enabled --- src/api/api_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/api_msg.c b/src/api/api_msg.c index a37ab115..46c9abf2 100644 --- a/src/api/api_msg.c +++ b/src/api/api_msg.c @@ -1160,7 +1160,7 @@ do_close(struct api_msg_msg *msg) #endif /* LWIP_TCP */ { msg->conn->err = ERR_VAL; - TCPIP_APIMSG_ACK(msg); + sys_sem_signal(msg->conn->op_completed); } }