From 40cc97c87d23268fd41aa2362dd9c49d2f2bfadc Mon Sep 17 00:00:00 2001 From: yunhanw Date: Thu, 11 Nov 2021 23:03:24 -0800 Subject: [PATCH] address comments --- src/app/InteractionModelEngine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/InteractionModelEngine.cpp b/src/app/InteractionModelEngine.cpp index a5d7eb7a4e4f77..fc3d4fda86543f 100644 --- a/src/app/InteractionModelEngine.cpp +++ b/src/app/InteractionModelEngine.cpp @@ -415,6 +415,7 @@ CHIP_ERROR InteractionModelEngine::OnMessageReceived(Messaging::ExchangeContext else if (aPayloadHeader.HasMessageType(Protocols::InteractionModel::MsgType::ReportData)) { ReturnErrorOnFailure(OnUnsolicitedReportData(apExchangeContext, aPayloadHeader, std::move(aPayload))); + status = Protocols::InteractionModel::Status::Success; } else {