diff --git a/examples/platform/silabs/efr32/rs911x/wfx_rsi_host.c b/examples/platform/silabs/efr32/rs911x/wfx_rsi_host.c index c12e4749b21040..3482f222b3bc35 100644 --- a/examples/platform/silabs/efr32/rs911x/wfx_rsi_host.c +++ b/examples/platform/silabs/efr32/rs911x/wfx_rsi_host.c @@ -203,11 +203,7 @@ sl_status_t wfx_connect_to_ap(void) ***********************************************************************/ sl_status_t wfx_power_save() { - if (wfx_rsi_power_save() != RSI_ERROR_NONE) - { - return SL_STATUS_FAIL; - } - return SL_STATUS_OK; + return (wfx_rsi_power_save() ? SL_STATUS_FAIL : SL_STATUS_OK); } #endif /* SL_ICD_ENABLED */ diff --git a/src/platform/silabs/rs911x/rsi_ble_config.h b/src/platform/silabs/rs911x/rsi_ble_config.h index 07f50b9528f253..89ec2f81873f58 100644 --- a/src/platform/silabs/rs911x/rsi_ble_config.h +++ b/src/platform/silabs/rs911x/rsi_ble_config.h @@ -20,6 +20,7 @@ #include "rsi_ble_apis.h" #if (SIWX_917 | EXP_BOARD) +#include "rsi_bt_common_apis.h" #include "rsi_user.h" #else #include