diff --git a/src/core/mac/mac.cpp b/src/core/mac/mac.cpp index fe41b62b9..559d53137 100644 --- a/src/core/mac/mac.cpp +++ b/src/core/mac/mac.cpp @@ -1659,6 +1659,8 @@ Error Mac::ProcessEnhAckSecurity(TxFrame &aTxFrame, RxFrame &aAckFrame) VerifyOrExit(aAckFrame.GetSecurityEnabled(), error = kErrorNone); VerifyOrExit(aAckFrame.IsVersion2015()); + SuccessOrExit(aAckFrame.ValidatePsdu()); + IgnoreError(aAckFrame.GetSecurityLevel(securityLevel)); VerifyOrExit(securityLevel == Frame::kSecurityEncMic32);