[mac-frame] set mCslPresent on TxFrame when CSL IE is added (#10939)

This commit ensures that the `mCslPresent` flag is set on `TxFrame`
when the CSL IE header is appended to the frame. This addresses an
issue introduced in #10692 where this flag can remain unset.
This commit is contained in:
Abtin Keshavarzian
2024-11-19 08:27:21 -08:00
committed by GitHub
parent 10d8b68f23
commit 9cd65f78a3
+1
View File
@@ -232,6 +232,7 @@ void TxFrame::Info::PrepareHeadersIn(TxFrame &aTxFrame) const
{
builder.Append<HeaderIe>()->Init(CslIe::kHeaderIeId, sizeof(CslIe));
builder.Append<CslIe>();
aTxFrame.SetCslIePresent(true);
}
#endif