Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[radio] fix
ClearSrcMatchExtEntry()
Extended Address byte order (op…
…enthread#11257) This commit addresses an issue introduced in openthread#10892 where the Extended Address byte order was not properly handled when calling `otPlatRadio` APIs. OpenThread core uses big-endian encoding for Extended Addresses, while the `otPlatRadio` APIs expect little-endian, as per documented behavior. PR openthread#10892 refactored the byte-order reversal code from `SourceMatchController` and `LinkRaw` into the `Radio` class. While `Radio::AddSrcMatchExtEntry()` was updated properly to reverse the byte order, `Radio::ClearSrcMatchExtEntry()` was not. This leads to Extended MAC addresses not being properly removed from the source match table, potentially causing issues with indirect transmission. This commit resolves the issue. It is strongly recommended to cherry-pick this fix into builds that include openthread#10892.
- Loading branch information