diff --git a/examples/platforms/utils/mac_frame.cpp b/examples/platforms/utils/mac_frame.cpp index 6f23f6df7..3b48dd599 100644 --- a/examples/platforms/utils/mac_frame.cpp +++ b/examples/platforms/utils/mac_frame.cpp @@ -319,7 +319,7 @@ otError otMacFrameProcessTransmitSecurity(otRadioFrame *aFrame, otRadioContext * bool processKeyId; processKeyId = -#if OPENTHREAD_CONFIG_WAKEUP_END_DEVICE_ENABLE +#if OPENTHREAD_CONFIG_WAKEUP_COORDINATOR_ENABLE otMacFrameIsKeyIdMode2(aFrame) || #endif otMacFrameIsKeyIdMode1(aFrame);