Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ricardo Casallas <[email protected]>
  • Loading branch information
mkardous-silabs and rcasallas-silabs authored Feb 14, 2025
1 parent 65873b1 commit 0c2ec99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/silabs/wifi/icd/WifiSleepManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ CHIP_ERROR WifiSleepManager::RequestHighPerformance()

mHighPerformanceRequestCounter++;

// We don't do the mHighPerformanceRequestCounter check here; the check is in VerifyAndTransitionToLowPowerMode function
// We don't do the mHighPerformanceRequestCounter check here; the check is in the VerifyAndTransitionToLowPowerMode function
ReturnErrorOnFailure(VerifyAndTransitionToLowPowerMode(PowerEvent::kGenericEvent));

return CHIP_NO_ERROR;
Expand All @@ -100,7 +100,7 @@ CHIP_ERROR WifiSleepManager::RemoveHighPerformanceRequest()

mHighPerformanceRequestCounter--;

// We don't do the mHighPerformanceRequestCounter check here; the check is in VerifyAndTransitionToLowPowerMode function
// We don't do the mHighPerformanceRequestCounter check here; the check is in the VerifyAndTransitionToLowPowerMode function
ReturnErrorOnFailure(VerifyAndTransitionToLowPowerMode(PowerEvent::kGenericEvent));

return CHIP_NO_ERROR;
Expand Down

0 comments on commit 0c2ec99

Please sign in to comment.