From cbbcd193cd2caed8661419eb2e26ca9459b33e8c Mon Sep 17 00:00:00 2001 From: Pankaj Garg Date: Mon, 31 May 2021 08:42:52 -0700 Subject: [PATCH] Do not trigger CASE session setup (#7237) --- src/controller/CHIPDevice.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/controller/CHIPDevice.cpp b/src/controller/CHIPDevice.cpp index d0d0c3a70727b9..babdf6e2cf92f0 100644 --- a/src/controller/CHIPDevice.cpp +++ b/src/controller/CHIPDevice.cpp @@ -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: