Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[link-metrics] fix the endian-ness of
mPduCountValue
This commit updates `LinkMetrics::AppendReport()` to ensure the `values.mPduCountValue` (which is a `uint32_t`) is stored in the host MCU encoding and not in big-endian encoding. This was originally added in openthread#7046 as a fix (basically saving the value in local variable in the encoding we expect to later include in the Report TLV), however openthread#8006 updates the `ReportSubTlv` methods to do the encoding change in the `Get/SetMetricsValue32()` (similar to other OT `Tlv` definitions).
- Loading branch information