mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-22 01:27:11 +08:00
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:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user