Skip to content

Commit

Permalink
Pass network ID to device layer. (#16911)
Browse files Browse the repository at this point in the history
We have this info now, we should pass it along. Device layer doesn't
do anything with it currently.
  • Loading branch information
cecille authored and pull[bot] committed May 20, 2022
1 parent 158b537 commit 8392b41
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,8 @@ void Instance::OnResult(Status commissioningError, CharSpan errorText, int32_t i

if (commissioningError == Status::kSuccess)
{
// TODO: Pass the actual network id to device control server.
DeviceLayer::DeviceControlServer::DeviceControlSvr().ConnectNetworkForOperational(ByteSpan());
DeviceLayer::DeviceControlServer::DeviceControlSvr().ConnectNetworkForOperational(
ByteSpan(mLastNetworkID, mLastNetworkIDLen));
}
}

Expand Down

0 comments on commit 8392b41

Please sign in to comment.