From cf57d96165442d242692687e61dcac56cd1b09e1 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Wed, 8 Jun 2022 23:00:18 +0200 Subject: [PATCH] [chip-trace-decoder] Use the right message parser for status response (#19307) --- examples/common/tracing/decoder/interaction_model/Decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/common/tracing/decoder/interaction_model/Decoder.cpp b/examples/common/tracing/decoder/interaction_model/Decoder.cpp index 7e75e4078d04fd..5400b773418666 100644 --- a/examples/common/tracing/decoder/interaction_model/Decoder.cpp +++ b/examples/common/tracing/decoder/interaction_model/Decoder.cpp @@ -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(); }