From ce970143bb073a54dc1c81aab577b695e4bce798 Mon Sep 17 00:00:00 2001 From: Tan Yan Quan Date: Fri, 6 Jun 2025 12:26:44 +0800 Subject: [PATCH] fix(openthread): disable rx_abort events in next operation --- components/ieee802154/driver/esp_ieee802154_dev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/ieee802154/driver/esp_ieee802154_dev.c b/components/ieee802154/driver/esp_ieee802154_dev.c index c6b7868f9c..c40505578a 100644 --- a/components/ieee802154/driver/esp_ieee802154_dev.c +++ b/components/ieee802154/driver/esp_ieee802154_dev.c @@ -385,6 +385,7 @@ static IRAM_ATTR void next_operation(void) #if !CONFIG_IEEE802154_TEST if (s_pending_tx.frame) { // Here the driver needs to recover the setting of rx aborts, see function `ieee802154_transmit`. + ieee802154_ll_disable_rx_abort_events(IEEE802154_RX_ABORT_ALL); ieee802154_ll_enable_rx_abort_events(BIT(IEEE802154_RX_ABORT_BY_TX_ACK_TIMEOUT - 1) | BIT(IEEE802154_RX_ABORT_BY_TX_ACK_COEX_BREAK - 1)); // Clear the RX abort event again for avoiding the risk if there are still some rx abort events created after last isr process. ieee802154_ll_clear_events(IEEE802154_EVENT_RX_ABORT);