mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-07 06:28:03 +08:00
Merge branch 'bugfix/fix_send_error_regard_as_ok' into 'master'
fix(lwip): The machine of inserting sent fail packet to list is lose by update... See merge request sdk/ESP8266_RTOS_SDK!1345
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);
|
err = ieee80211_output_pbuf(&aio);
|
||||||
if (err != ERR_OK) {
|
if (err != ERR_OK) {
|
||||||
if (err == ERR_MEM) {
|
|
||||||
#if ESP_TCP
|
|
||||||
insert_to_list(aio.fd, p);
|
|
||||||
#endif
|
|
||||||
err = ERR_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
pbuf_free(p);
|
pbuf_free(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user