Increment KEK frame counter with each frame transmission. (#1152)

This commit is contained in:
Jonathan Hui
2017-01-15 08:30:28 -08:00
committed by GitHub
parent ab866eed92
commit 9925c82314
+1
View File
@@ -671,6 +671,7 @@ void Mac::ProcessTransmitSecurity(Frame &aFrame)
case Frame::kKeyIdMode0:
key = mKeyManager.GetKek();
frameCounter = mKeyManager.GetKekFrameCounter();
mKeyManager.IncrementKekFrameCounter();
extAddress = &mExtAddress;
break;