Skip to content

Commit

Permalink
[ESP32] Set-regulatory-config command is working on ESP32 (#16520)
Browse files Browse the repository at this point in the history
  • Loading branch information
jadhavrohit924 authored Mar 22, 2022
1 parent fc2fd93 commit 621b672
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 621b672

Please sign in to comment.