monitor/att: Fix parsing of Notify Mutiple
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 20 May 2022 23:51:38 +0000 (16:51 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
Notify Multiple was parsing handle multiple times causing the length to
be assumed to be a handle.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
monitor/att.c

index d0e44b2..c7e1d79 100644 (file)
@@ -791,8 +791,6 @@ static void att_multiple_vl_rsp(const struct l2cap_frame *frame)
                if (!l2cap_frame_get_le16(f, &handle))
                        return;
 
-               print_handle(frame, get_le16(frame->data), true);
-
                if (!l2cap_frame_get_le16(f, &len))
                        return;