From 645105bfdb3573be7e6417149ea7c60629499426 Mon Sep 17 00:00:00 2001 From: C Freeman Date: Mon, 14 Mar 2022 05:38:55 -0400 Subject: [PATCH] Remove mIsIpRendezvous variable (#16128) This is no longer used anywhere. --- src/controller/CHIPDeviceController.cpp | 2 -- src/controller/CHIPDeviceController.h | 6 ------ 2 files changed, 8 deletions(-) diff --git a/src/controller/CHIPDeviceController.cpp b/src/controller/CHIPDeviceController.cpp index e094c55875226f..f531865111b37a 100644 --- a/src/controller/CHIPDeviceController.cpp +++ b/src/controller/CHIPDeviceController.cpp @@ -805,8 +805,6 @@ CHIP_ERROR DeviceCommissioner::EstablishPASEConnection(NodeId remoteDeviceId, Re mDeviceBeingCommissioned = device; - mIsIPRendezvous = (params.GetPeerAddress().GetTransportType() != Transport::Type::kBle); - { FabricIndex fabricIndex = mFabricInfo != nullptr ? mFabricInfo->GetFabricIndex() : kUndefinedFabricIndex; device->Init(GetControllerDeviceInitParams(), remoteDeviceId, peerAddress, fabricIndex); diff --git a/src/controller/CHIPDeviceController.h b/src/controller/CHIPDeviceController.h index 6a81f061cf0eb7..ef7160d6c7a859 100644 --- a/src/controller/CHIPDeviceController.h +++ b/src/controller/CHIPDeviceController.h @@ -700,12 +700,6 @@ class DLL_EXPORT DeviceCommissioner : public DeviceController, CommissioneeDeviceProxy * mDeviceBeingCommissioned = nullptr; - /* TODO: BLE rendezvous and IP rendezvous should share the same procedure, so this is just a - workaround-like flag and should be removed in the future. - When using IP rendezvous, we need to disable network provisioning. In the future, network - provisioning will no longer be a part of rendezvous procedure. */ - bool mIsIPRendezvous; - /* This field is true when device pairing information changes, e.g. a new device is paired, or the pairing for a device is removed. The DeviceCommissioner uses this to decide when to persist the device list */