OSDN Git Service
(root)
/
android-x86
/
hardware-interfaces.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
292cddf
)
Bluetooth: Call vendor cleanup() in Close()
author
Myles Watson
<mylesgw@google.com>
Thu, 8 Jun 2017 15:38:58 +0000
(08:38 -0700)
committer
Myles Watson
<mylesgw@google.com>
Thu, 8 Jun 2017 20:35:32 +0000
(20:35 +0000)
Bug:
62453652
Test: sailfish and angler start/stop Bluetooth, pair
Change-Id: I8ba80ae1802d1f524acb1d8e26b5bb41fc1612d0
bluetooth/1.0/default/vendor_interface.cc
patch
|
blob
|
history
diff --git
a/bluetooth/1.0/default/vendor_interface.cc
b/bluetooth/1.0/default/vendor_interface.cc
index
bb66460
..
a291e14
100644
(file)
--- a/
bluetooth/1.0/default/vendor_interface.cc
+++ b/
bluetooth/1.0/default/vendor_interface.cc
@@
-282,6
+282,8
@@
void VendorInterface::Close() {
int power_state = BT_VND_PWR_OFF;
lib_interface_->op(BT_VND_OP_POWER_CTRL, &power_state);
+
+ lib_interface_->cleanup();
}
if (lib_handle_ != nullptr) {