From 128ba0e39eae406babf868ab60f49d9b7d54b22f Mon Sep 17 00:00:00 2001 From: yuanjm Date: Mon, 23 Mar 2020 14:43:25 +0800 Subject: [PATCH] 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 --- components/lwip/port/esp8266/netif/wlanif.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/components/lwip/port/esp8266/netif/wlanif.c b/components/lwip/port/esp8266/netif/wlanif.c index 48602f56..3c4e2704 100644 --- a/components/lwip/port/esp8266/netif/wlanif.c +++ b/components/lwip/port/esp8266/netif/wlanif.c @@ -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); }