Skip to content

Commit

Permalink
Adds fix for err usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rosahay-silabs committed May 18, 2023
1 parent 1eba401 commit 23985b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform/silabs/ConnectivityManagerImpl_WIFI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ void ConnectivityManagerImpl::DriveStationState()
// Ensure that the WFX is started.
if ((serr = wfx_wifi_start()) != SL_STATUS_OK)
{
err = CHIP_ERROR_INTERNAL;
ChipLogError(DeviceLayer, "wfx_wifi_start() failed: %s", chip::ErrorStr(err));
return;
}
Expand Down

0 comments on commit 23985b5

Please sign in to comment.