Skip to content

Commit

Permalink
Should reset err if CHIP_ERROR_KEY_NOT_FOUND in ParseICDInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
erjiaqing committed Nov 22, 2023
1 parent 64a6594 commit aa73f9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controller/CHIPDeviceController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2207,6 +2207,7 @@ CHIP_ERROR DeviceCommissioner::ParseICDInfo(ReadCommissioningInfo2 & info)
else if (err == CHIP_ERROR_KEY_NOT_FOUND)
{
info.isIcd = false;
err = CHIP_NO_ERROR;
}
else if (err == CHIP_ERROR_IM_STATUS_CODE_RECEIVED)
{
Expand Down

0 comments on commit aa73f9a

Please sign in to comment.