commit | 9eee83093faf0edd023920b16f5251a17ae97f00 | [log] [tgz] |
---|---|---|
author | Myles Watson <mylesgw@google.com> | Thu Jun 08 08:38:58 2017 -0700 |
committer | Myles Watson <mylesgw@google.com> | Thu Jun 08 20:35:32 2017 +0000 |
tree | b981f9bce088e11ee483b5f8c5385fdd0dd4ccc1 | |
parent | 292cddf6be7df898aa13bbdf3e7296524f12b5c9 [diff] |
Bluetooth: Call vendor cleanup() in Close() Bug: 62453652 Test: sailfish and angler start/stop Bluetooth, pair Change-Id: I8ba80ae1802d1f524acb1d8e26b5bb41fc1612d0
diff --git a/bluetooth/1.0/default/vendor_interface.cc b/bluetooth/1.0/default/vendor_interface.cc index bb66460..a291e14 100644 --- a/bluetooth/1.0/default/vendor_interface.cc +++ b/bluetooth/1.0/default/vendor_interface.cc
@@ -282,6 +282,8 @@ int power_state = BT_VND_PWR_OFF; lib_interface_->op(BT_VND_OP_POWER_CTRL, &power_state); + + lib_interface_->cleanup(); } if (lib_handle_ != nullptr) {