Skip to content

Commit f6eb659

Browse files
Update signature
1 parent 4e986d1 commit f6eb659

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/platform/silabs/wifi/icd/WifiSleepManager.cpp

+3-6
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,11 @@ namespace {
3333
*/
3434
CHIP_ERROR ConfigureLIBasedSleep()
3535
{
36-
VerifyOrReturnError(ConfigureBroadcastFilter(true) == SL_STATUS_OK, CHIP_ERROR_INTERNAL,
37-
ChipLogError(DeviceLayer, "Failed to configure broadcasts filter."));
36+
ReturnLogErrorOnFailure(ConfigureBroadcastFilter(true));
3837

3938
// Allowing the device to go to sleep must be the last actions to avoid configuration failures.
40-
VerifyOrReturnError(ConfigurePowerSave(RSI_SLEEP_MODE_2, ASSOCIATED_POWER_SAVE,
41-
chip::ICDConfigurationData::GetInstance().GetSlowPollingInterval().count()) ==
42-
SL_STATUS_OK,
43-
CHIP_ERROR_INTERNAL, ChipLogError(DeviceLayer, "Failed to enable LI based sleep."));
39+
ReturnLogErrorOnFailure(ConfigurePowerSave(RSI_SLEEP_MODE_2, ASSOCIATED_POWER_SAVE,
40+
chip::ICDConfigurationData::GetInstance().GetSlowPollingInterval().count()));
4441

4542
return CHIP_NO_ERROR;
4643
}

0 commit comments

Comments
 (0)