Skip to content

Commit

Permalink
[ESP32] Set-regulatory-config command is working on ESP32 (project-ch…
Browse files Browse the repository at this point in the history
  • Loading branch information
jadhavrohit924 authored and andrei-menzopol committed Apr 14, 2022
1 parent 9a5dd0f commit 3a62049
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/platform/DeviceControlServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ CHIP_ERROR DeviceControlServer::SetRegulatoryConfig(uint8_t location, const Char
ChipLogError(DeviceLayer, "SetRegulatoryConfig failed with error: %s", ErrorStr(err));
}

// TODO(cecille): This command fails on ESP32, but it's blocking IP cluster-based commissioning so for now just return a success
// status.
return CHIP_NO_ERROR;
return err;
}

CHIP_ERROR DeviceControlServer::ConnectNetworkForOperational(ByteSpan networkID)
Expand Down

0 comments on commit 3a62049

Please sign in to comment.