Skip to content

Commit

Permalink
[chip-trace-decoder] Use the right message parser for status response (
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple authored Jun 8, 2022
1 parent 3948b40 commit bb37eea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit bb37eea

Please sign in to comment.