Skip to content

Commit 0c9c547

Browse files
authored
Should reset err if CHIP_ERROR_KEY_NOT_FOUND in ParseICDInfo (project-chip#30613)
Fixes project-chip#30604 Fixes project-chip#30414
1 parent 55ada8b commit 0c9c547

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/controller/CHIPDeviceController.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -2240,6 +2240,7 @@ CHIP_ERROR DeviceCommissioner::ParseICDInfo(ReadCommissioningInfo2 & info)
22402240
// This key is optional so not an error
22412241
err = CHIP_NO_ERROR;
22422242
info.isIcd = false;
2243+
err = CHIP_NO_ERROR;
22432244
}
22442245
else if (err == CHIP_ERROR_IM_STATUS_CODE_RECEIVED)
22452246
{

0 commit comments

Comments
 (0)