From 0d3a8a6b6e72b88c6c597e95a1481ad12391700e Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Thu, 26 Sep 2024 10:54:45 -0700 Subject: [PATCH] [radio] update usage of `otMacFrameGetSequence` (#764) --- openthread | 2 +- src/radio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openthread b/openthread index 03113e8..b42be4c 160000 --- a/openthread +++ b/openthread @@ -1 +1 @@ -Subproject commit 03113e8502ab6153a5f320f00b6f60685fdfc6ef +Subproject commit b42be4cff14595a66f603fc83460505c176754f7 diff --git a/src/radio.c b/src/radio.c index 739e1ca..6230ff8 100644 --- a/src/radio.c +++ b/src/radio.c @@ -549,7 +549,7 @@ void B91RxTxIntHandler() } sAckFrame.mPsdu[1] = 0; - sAckFrame.mPsdu[2] = otMacFrameGetSequence(rx_frame_ptr); + otEXPECT(otMacFrameGetSequence(rx_frame_ptr, &sAckFrame.mPsdu[2]) == OT_ERROR_NONE); sAckFrame.mChannel = rx_frame_ptr->mChannel;