From 51ad7f23be548dd843a38362faa43f760e3aeb26 Mon Sep 17 00:00:00 2001 From: Jiacheng Guo Date: Wed, 1 Sep 2021 11:19:37 +0800 Subject: [PATCH] [controller] reset Device state for usage in accessories --- src/controller/CHIPDevice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controller/CHIPDevice.cpp b/src/controller/CHIPDevice.cpp index bc863012ece384..214d09cd285c17 100644 --- a/src/controller/CHIPDevice.cpp +++ b/src/controller/CHIPDevice.cpp @@ -552,6 +552,7 @@ void Device::OperationalCertProvisioned() Persist(); CloseSession(); + mState = ConnectionState::NotConnected; } CHIP_ERROR Device::WarmupCASESession()