Skip to content

Commit 4a80901

Browse files
committed
Merge branch 'fix/rx_abort_next_op' into 'master'
fix(openthread): disable rx_abort events in next operation See merge request espressif/esp-idf!39708
2 parents ea4787e + ce97014 commit 4a80901

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/ieee802154/driver/esp_ieee802154_dev.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ static IRAM_ATTR void next_operation(void)
385385
#if !CONFIG_IEEE802154_TEST
386386
if (s_pending_tx.frame) {
387387
// Here the driver needs to recover the setting of rx aborts, see function `ieee802154_transmit`.
388+
ieee802154_ll_disable_rx_abort_events(IEEE802154_RX_ABORT_ALL);
388389
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));
389390
// Clear the RX abort event again for avoiding the risk if there are still some rx abort events created after last isr process.
390391
ieee802154_ll_clear_events(IEEE802154_EVENT_RX_ABORT);

0 commit comments

Comments
 (0)