diff --git a/examples/platform/silabs/wifi/icd/ApplicationSleepManager.cpp b/examples/platform/silabs/wifi/icd/ApplicationSleepManager.cpp index 585a109889..123a2a4fa1 100644 --- a/examples/platform/silabs/wifi/icd/ApplicationSleepManager.cpp +++ b/examples/platform/silabs/wifi/icd/ApplicationSleepManager.cpp @@ -170,13 +170,17 @@ bool ApplicationSleepManager::ProcessKeychainEdgeCase() void ApplicationSleepManager::OnEnterActiveMode() { mIsInActiveMode = true; +#if (defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1) mWifiSleepManager->VerifyAndTransitionToLowPowerMode(); +#endif // (defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1) } void ApplicationSleepManager::OnEnterIdleMode() { mIsInActiveMode = false; +#if (defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1) mWifiSleepManager->VerifyAndTransitionToLowPowerMode(); +#endif // (defined(SLI_SI91X_MCU_INTERFACE) && SLI_SI91X_MCU_INTERFACE == 1) } void ApplicationSleepManager::OnTransitionToIdle()