mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
openthread_port: fix receive buffer overflow
This commit is contained in:
parent
781eb0c2ce
commit
eabc5e5b01
@ -422,6 +422,7 @@ void IRAM_ATTR esp_ieee802154_receive_done(uint8_t *data, esp_ieee802154_frame_i
|
|||||||
{
|
{
|
||||||
if (s_recv_queue.used == CONFIG_IEEE802154_RX_BUFFER_SIZE) {
|
if (s_recv_queue.used == CONFIG_IEEE802154_RX_BUFFER_SIZE) {
|
||||||
ESP_EARLY_LOGE(OT_PLAT_LOG_TAG, "radio receive buffer full!");
|
ESP_EARLY_LOGE(OT_PLAT_LOG_TAG, "radio receive buffer full!");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
s_rssi = frame_info->rssi;
|
s_rssi = frame_info->rssi;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user