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:
729e575
)
Add BTM_LogHistory to BTM_RemoveSco
author
Chris Manton
<cmanton@google.com>
Wed, 16 Dec 2020 22:23:20 +0000
(14:23 -0800)
committer
Chris Manton
<cmanton@google.com>
Tue, 5 Jan 2021 17:50:52 +0000
(09:50 -0800)
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Ifabbe8cf65fc56dbe43105d9cd133a7b6ae97025
stack/btm/btm_sco.cc
patch
|
blob
|
history
diff --git
a/stack/btm/btm_sco.cc
b/stack/btm/btm_sco.cc
index
d001beb
..
236c6c4
100644
(file)
--- a/
stack/btm/btm_sco.cc
+++ b/
stack/btm/btm_sco.cc
@@
-772,6
+772,8
@@
tBTM_STATUS BTM_RemoveSco(uint16_t sco_inx) {
p->state = SCO_ST_DISCONNECTING;
acl_disconnect_from_handle(p->hci_handle, HCI_ERR_PEER_USER);
+ BTM_LogHistory("SCO", p->esco.data.bd_addr, "Disconnecting",
+ "local initiated");
return (BTM_CMD_STARTED);
}