From 7243b18d9b1e10e7a9308e013a0fdf1c1915f963 Mon Sep 17 00:00:00 2001 From: Pankaj Garg Date: Fri, 28 May 2021 10:15:34 -0700 Subject: [PATCH] Do not trigger CASE session setup --- 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: