Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and kkasperczyk-no committed Jun 2, 2023
1 parent ecf0f1f commit a061fff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platform/nrfconnect/wifi/WiFiManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ CHIP_ERROR WiFiManager::Scan(const ByteSpan & ssid, ScanResultCallback resultCal
if (ret)
{
ChipLogError(DeviceLayer, "Scan request failed %d", ret);
if(ret == -EBUSY && !workaroundDone){
if (ret == -EBUSY && !workaroundDone)
{
// TODO Wi-Fi driver returned an error during recovery.
// As a workaround schedule the recovery timer one more time in WifiSupplicantWorkaroundTime time.
// This allows the device to run the Scan method without
Expand Down

0 comments on commit a061fff

Please sign in to comment.