openthread_port: fix receive buffer overflow

This commit is contained in:
zhangwenxu 2023-01-04 20:39:18 +08:00
parent 781eb0c2ce
commit eabc5e5b01

View File

@ -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) {
ESP_EARLY_LOGE(OT_PLAT_LOG_TAG, "radio receive buffer full!");
return;
}
s_rssi = frame_info->rssi;