Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chip-trace-decoder] Use the right message parser for status response (
Browse files Browse the repository at this point in the history
vivien-apple authored and mkardous-silabs committed Jun 10, 2022
1 parent c433fb7 commit 591462a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -135,7 +135,7 @@ CHIP_ERROR DecodeStatusResponse(TLV::TLVReader & reader, bool decode)
#if CHIP_CONFIG_IM_ENABLE_SCHEMA_CHECK
if (decode)
{
app::InvokeRequestMessage::Parser parser;
app::StatusResponseMessage::Parser parser;
ReturnErrorOnFailure(parser.Init(reader));
return parser.CheckSchemaValidity();
}

0 comments on commit 591462a

Please sign in to comment.