Skip to content

Commit

Permalink
Remove mIsIpRendezvous variable (#16128)
Browse files Browse the repository at this point in the history
This is no longer used anywhere.
  • Loading branch information
cecille authored and pull[bot] committed Jul 15, 2023
1 parent 3647169 commit 645105b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/controller/CHIPDeviceController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
6 changes: 0 additions & 6 deletions src/controller/CHIPDeviceController.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 645105b

Please sign in to comment.