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:
31130b6
)
Re-log btif/src/btif_gatt_util::btif_gatt_check_encrypted_link
author
Chris Manton
<cmanton@google.com>
Fri, 15 Jan 2021 05:36:22 +0000
(21:36 -0800)
committer
Chris Manton
<cmanton@google.com>
Wed, 20 Jan 2021 07:12:57 +0000
(23:12 -0800)
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I86b8c7ebd1ce531711d3bff6752800fe2e714ddb
btif/src/btif_gatt_util.cc
patch
|
blob
|
history
diff --git
a/btif/src/btif_gatt_util.cc
b/btif/src/btif_gatt_util.cc
index
60ac18d
..
132fead
100644
(file)
--- a/
btif/src/btif_gatt_util.cc
+++ b/
btif/src/btif_gatt_util.cc
@@
-82,7
+82,9
@@
void btif_gatt_check_encrypted_link(RawAddress bd_addr,
bd_addr, BTM_LE_KEY_PENC, (uint8_t*)&key,
sizeof(tBTM_LE_PENC_KEYS)) == BT_STATUS_SUCCESS) &&
!btif_gatt_is_link_encrypted(bd_addr)) {
- BTIF_TRACE_DEBUG("%s: transport = %d", __func__, transport_link);
+ LOG_DEBUG("Checking gatt link peer:%s transport:%s",
+ PRIVATE_ADDRESS(bd_addr),
+ BtTransportText(transport_link).c_str());
BTA_DmSetEncryption(bd_addr, transport_link, &btif_gatt_set_encryption_cb,
BTM_BLE_SEC_ENCRYPT);
}