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 */