From f6cf5d8f85606ed9a31b6cd8bea7d833fc5d6848 Mon Sep 17 00:00:00 2001 From: devsaurus Date: Tue, 8 May 2018 21:42:31 +0200 Subject: [PATCH] fix application of patch 0018-feat-espconn-Modification-for-espconn.patch in #2269 espconn_tcp_reconnect() was removed instead of espconn_list_delete() --- app/lwip/app/espconn_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lwip/app/espconn_tcp.c b/app/lwip/app/espconn_tcp.c index 49942e4ec8..b1ebfde4ea 100644 --- a/app/lwip/app/espconn_tcp.c +++ b/app/lwip/app/espconn_tcp.c @@ -434,9 +434,9 @@ espconn_Task(os_event_t *events) break; case SIG_ESPCONN_ERRER: /*remove the node from the client's active connection list*/ - espconn_list_delete(&plink_active, task_msg); if (espconn_manual_recv_enabled(task_msg)) espconn_list_delete(&plink_active, task_msg); + espconn_tcp_reconnect(task_msg); break; case SIG_ESPCONN_CLOSE: /*remove the node from the client's active connection list*/