Skip to content

Commit

Permalink
[controller] Fix commissioning multiple devices (#13183)
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian-Nordic authored Jan 4, 2022
1 parent 360252c commit 0a385a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/controller/CHIPDeviceController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1903,9 +1903,12 @@ void DeviceCommissioner::PerformCommissioningStep(DeviceProxy * proxy, Commissio
{
mPairingDelegate->OnCommissioningComplete(proxy->GetDeviceId(), CHIP_NO_ERROR);
}
mCommissioningStage = CommissioningStage::kSecurePairing;
break;
case CommissioningStage::kSecurePairing:
case CommissioningStage::kError:
mCommissioningStage = CommissioningStage::kSecurePairing;
break;
case CommissioningStage::kSecurePairing:
break;
}
}
Expand Down

0 comments on commit 0a385a2

Please sign in to comment.