Bluetooth: Call vendor cleanup() in Close() am: 9eee83093f
am: 58c51ad669
am: b68bcfd769
am: bf09f28c23
Change-Id: Iac9c02e1f8fd1e2bd2986275a463044a925bd50f
This commit is contained in:
commit
4b649ea144
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue