Skip to content

Commit 6077410

Browse files
authored
Merge branch 'master' into 0307_good_lock
2 parents 96e6885 + 12d8487 commit 6077410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controller/CHIPDeviceController.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1983,7 +1983,7 @@ void DeviceCommissioner::ParseCommissioningInfo()
19831983
// return.
19841984
auto attributeCache = std::move(mAttributeCache);
19851985

1986-
if (mPairingDelegate != nullptr)
1986+
if (mPairingDelegate != nullptr && err == CHIP_NO_ERROR)
19871987
{
19881988
mPairingDelegate->OnReadCommissioningInfo(info);
19891989
}

0 commit comments

Comments
 (0)