fix(lwip): fix github issues !155

internal: bca36eac
This commit is contained in:
Espressif Systems
2018-03-26 10:38:04 +08:00
parent 132f5fc51e
commit 408104dca7
3 changed files with 1 additions and 5 deletions

View File

@@ -295,8 +295,6 @@ poll_tcp(void *arg, struct tcp_pcb *pcb)
lwip_netconn_do_writemore(conn);
} else if (conn->state == NETCONN_CLOSE) {
lwip_netconn_do_close_internal(conn);
} else if (conn->state == NETCONN_NONE) {
return ERR_OK;
}
/* @todo: implement connect timeout here? */
@@ -334,8 +332,6 @@ sent_tcp(void *arg, struct tcp_pcb *pcb, u16_t len)
lwip_netconn_do_writemore(conn);
} else if (conn->state == NETCONN_CLOSE) {
lwip_netconn_do_close_internal(conn);
} else if (conn->state == NETCONN_NONE) {
return ERR_OK;
}
if (conn) {