fix(lwip): The machine of inserting sent fail packet to list is lose by update the new lwip. So if the wlan port level send packet fail, it will report to upper layer no mem

This commit is contained in:
yuanjm
2020-03-23 14:43:25 +08:00
parent b0e5afe324
commit 128ba0e39e

View File

@ -485,13 +485,6 @@ static int8_t low_level_output(struct netif* netif, struct pbuf* p)
*/
err = ieee80211_output_pbuf(&aio);
if (err != ERR_OK) {
if (err == ERR_MEM) {
#if ESP_TCP
insert_to_list(aio.fd, p);
#endif
err = ERR_OK;
}
pbuf_free(p);
}