Skip to content

Commit

Permalink
[ICD] Reset mNeedIcdRegistration to false when starting the commision…
Browse files Browse the repository at this point in the history
… flow (#33574)

* reset mNeedIcdRegistration to false when starting the commision flow

* address comments
  • Loading branch information
yunhanw-google authored and pull[bot] committed Nov 20, 2024
1 parent 202740b commit 79dd7c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controller/AutoCommissioner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ CHIP_ERROR AutoCommissioner::SetCommissioningParameters(const CommissioningParam

mParams = params;

mNeedIcdRegistration = false;

if (haveMaybeDanglingBufferPointers)
{
mParams.ClearExternalBufferDependentValues();
Expand Down

0 comments on commit 79dd7c7

Please sign in to comment.