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:
af7f49c
)
Fix UUID comparision when enabling HID protocol mode for LE devices
author
Jakub Pawlowski
<jpawlowski@google.com>
Sat, 10 Dec 2016 22:20:18 +0000
(14:20 -0800)
committer
Andre Eisenbach
<eisenbach@google.com>
Mon, 12 Dec 2016 21:23:50 +0000
(21:23 +0000)
Change-Id: Ie635b3b763db5da25e58d7366c2438df67438a81
bta/hh/bta_hh_le.cc
patch
|
blob
|
history
diff --git
a/bta/hh/bta_hh_le.cc
b/bta/hh/bta_hh_le.cc
index
93cc23c
..
f94076a
100644
(file)
--- a/
bta/hh/bta_hh_le.cc
+++ b/
bta/hh/bta_hh_le.cc
@@
-1584,7
+1584,7
@@
static void bta_hh_le_search_hid_chars(tBTA_HH_DEV_CB* p_dev_cb,
tBTA_GATTC_CHARACTERISTIC* p_char =
(tBTA_GATTC_CHARACTERISTIC*)list_node(cn);
- if (p_char->uuid.len
!
= LEN_UUID_16 &&
+ if (p_char->uuid.len
=
= LEN_UUID_16 &&
p_char->uuid.uu.uuid16 == GATT_UUID_HID_PROTO_MODE) {
p_dev_cb->hid_srvc.proto_mode_handle = p_char->handle;
bta_hh_le_set_protocol_mode(p_dev_cb, p_dev_cb->mode);