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:
7832938
)
Fix wrong UUID mask when doing BLE filter scan
author
Ugo Yu
<ugoyu@google.com>
Mon, 13 Aug 2018 02:12:40 +0000
(10:12 +0800)
committer
Ugo Yu
<ugoyu@google.com>
Mon, 13 Aug 2018 02:17:36 +0000
(10:17 +0800)
bug:
112350218
Test: manual
Change-Id: I9e4297b936e7a7db164e7ff3bf680c43600c5bda
stack/btm/btm_ble_adv_filter.cc
patch
|
blob
|
history
diff --git
a/stack/btm/btm_ble_adv_filter.cc
b/stack/btm/btm_ble_adv_filter.cc
index
1f68fb6
..
54e038e
100644
(file)
--- a/
stack/btm/btm_ble_adv_filter.cc
+++ b/
stack/btm/btm_ble_adv_filter.cc
@@
-578,7
+578,7
@@
void BTM_LE_PF_uuid_filter(tBTM_BLE_SCAN_COND_OP action,
UINT32_TO_STREAM(p, uuid_mask.As32Bit());
len += Uuid::kNumBytes32;
} else if (uuid_len == Uuid::kNumBytes128) {
- const auto& tmp = uuid.To128BitLE();
+ const auto& tmp = uuid
_mask
.To128BitLE();
ARRAY_TO_STREAM(p, tmp.data(), (int)Uuid::kNumBytes128);
len += Uuid::kNumBytes128;
}