Skip to content

Commit

Permalink
Remove workaround for zero network commissioning feature map
Browse files Browse the repository at this point in the history
  • Loading branch information
ksperling-apple committed Dec 2, 2024
1 parent 33f6f70 commit a2f8a86
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/controller/CHIPDeviceController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2484,19 +2484,6 @@ CHIP_ERROR DeviceCommissioner::ParseNetworkCommissioningInfo(ReadCommissioningIn
ChipLogProgress(Controller, "NetworkCommissioning Features: has Ethernet. endpointid = %u", path.mEndpointId);
info.network.eth.endpoint = path.mEndpointId;
}
else
{
ChipLogProgress(Controller, "NetworkCommissioning Features: no features.");
// TODO: Gross workaround for the empty feature map on all clusters. Remove.
if (info.network.thread.endpoint == kInvalidEndpointId)
{
info.network.thread.endpoint = path.mEndpointId;
}
if (info.network.wifi.endpoint == kInvalidEndpointId)
{
info.network.wifi.endpoint = path.mEndpointId;
}
}
}
return CHIP_NO_ERROR;
});
Expand Down

0 comments on commit a2f8a86

Please sign in to comment.