From d9e41406d13d8806d245da5a6d09be1e8713a536 Mon Sep 17 00:00:00 2001 From: Tennessee Carmel-Veilleux Date: Wed, 17 Nov 2021 17:27:49 -0500 Subject: [PATCH] Update src/lib/core/CHIPTLVTags.h --- src/lib/core/CHIPTLVTags.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/core/CHIPTLVTags.h b/src/lib/core/CHIPTLVTags.h index 984d54845d99c2..802f307c248216 100644 --- a/src/lib/core/CHIPTLVTags.h +++ b/src/lib/core/CHIPTLVTags.h @@ -167,7 +167,7 @@ inline uint32_t ProfileIdFromTag(Tag tag) */ inline uint16_t ProfileNumFromTag(Tag tag) { - return static_cast((tag & kProfileNumMask) >> kProfileIdShift); + return static_cast((tag & kProfileNumMask) >> kProfileNumShift); } /**