Skip to content

Commit

Permalink
Do not trigger CASE session setup (#7237)
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-apple authored May 31, 2021
1 parent bcc3a63 commit cbbcd19
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/controller/CHIPDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,11 +424,12 @@ CHIP_ERROR Device::LoadSecureSessionParameters(ResetTransport resetNeeded)
SecureSession::SessionRole::kInitiator, mAdminId);
SuccessOrExit(err);

if (IsProvisioningComplete())
{
err = EstablishCASESession();
SuccessOrExit(err);
}
// TODO - Enable CASE Session setup before message is sent to a fully provisioned device
// if (IsProvisioningComplete())
// {
// err = EstablishCASESession();
// SuccessOrExit(err);
// }

exit:

Expand Down

0 comments on commit cbbcd19

Please sign in to comment.