Merge "Bluetooth: Call vendor cleanup() in Close()" into oc-dev
This commit is contained in:
commit
32ee110269
1 changed files with 2 additions and 0 deletions
|
@ -284,6 +284,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