Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b68bcfd7 authored by Myles Watson's avatar Myles Watson Committed by android-build-merger
Browse files

Bluetooth: Call vendor cleanup() in Close() am: 9eee8309

am: 58c51ad6

Change-Id: I33fb722609665638c866da062babaae3fcba0c6d
parents 8cbb07a5 58c51ad6
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -282,6 +282,8 @@ void VendorInterface::Close() {


    int power_state = BT_VND_PWR_OFF;
    int power_state = BT_VND_PWR_OFF;
    lib_interface_->op(BT_VND_OP_POWER_CTRL, &power_state);
    lib_interface_->op(BT_VND_OP_POWER_CTRL, &power_state);

    lib_interface_->cleanup();
  }
  }


  if (lib_handle_ != nullptr) {
  if (lib_handle_ != nullptr) {