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 Apr 1, 2022
1 parent b58b7be commit 7eb8258
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 7eb8258

Please sign in to comment.