monitor/att: Fix decoding for notifications
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 7 Jun 2022 22:24:31 +0000 (15:24 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
monitor/att.c

index a3baeff..a678282 100644 (file)
@@ -1546,7 +1546,7 @@ static void print_notify(const struct l2cap_frame *frame, uint16_t handle,
                return;
        }
 
-       attr = get_attribute(frame, handle, false);
+       attr = get_attribute(frame, handle, true);
        if (!attr)
                return;