mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
Bluetooth: Call vendor cleanup() in Close()
am: 9eee83093f
Change-Id: I477fa2049642e2025e2ea5a2a5c9c1be10d5c8f6
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user