OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7ad610
)
gatt: Fix CID check when receiving ack
author
HsingYuan Lo
<hylo@google.com>
Tue, 8 Sep 2020 03:27:40 +0000
(11:27 +0800)
committer
HsingYuan Lo
<hylo@google.com>
Tue, 8 Sep 2020 03:27:40 +0000
(11:27 +0800)
Tag: #feature
Test: build & test service change behavior
Bug:
159786353
Change-Id: Idb9811e8dd3b0a7bcacc482501f348c477a918c5
stack/gatt/gatt_sr.cc
patch
|
blob
|
history
diff --git
a/stack/gatt/gatt_sr.cc
b/stack/gatt/gatt_sr.cc
index
0346b40
..
60fe429
100644
(file)
--- a/
stack/gatt/gatt_sr.cc
+++ b/
stack/gatt/gatt_sr.cc
@@
-1181,7
+1181,7
@@
static bool gatts_proc_ind_ack(tGATT_TCB& tcb, uint16_t ack_handle) {
void gatts_process_value_conf(tGATT_TCB& tcb, uint16_t cid, uint8_t op_code) {
uint16_t handle;
- if (gatt_tcb_find_indicate_handle(tcb, cid, &handle)) {
+ if (
!
gatt_tcb_find_indicate_handle(tcb, cid, &handle)) {
LOG(ERROR) << "unexpected handle value confirmation";
return;
}