projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c719811
)
shared/gatt-client: fix BT_ATT_OP_HANDLE_NFY_MULT parsing
author
Archie Pusaka
<apusaka@chromium.org>
Tue, 16 Mar 2021 04:12:37 +0000
(12:12 +0800)
committer
Ayush Garg
<ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:35 +0000
(19:08 +0530)
We need to advance the pdu pointer after parsing each block of
notification data.
Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org>
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/shared/gatt-client.c
patch
|
blob
|
history
diff --git
a/src/shared/gatt-client.c
b/src/shared/gatt-client.c
index
5ba591a
..
6ae7249
100644
(file)
--- a/
src/shared/gatt-client.c
+++ b/
src/shared/gatt-client.c
@@
-2436,6
+2436,7
@@
static void notify_cb(struct bt_att_chan *chan, uint8_t opcode,
&data);
length -= data.len;
+ pdu += data.len;
}
} else {
data.handle = get_le16(pdu);