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

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

Merge "Bluetooth: No power off before power on" am: 2e429d6b

am: 3805d652

Change-Id: I03d5b9fc13750baa4a771b645d032ce2331b1523
parents 50ad0c51 3805d652
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -215,11 +215,9 @@ bool VendorInterface::Open(InitializeCompleteCallback initialize_complete_cb,

  ALOGD("%s vendor library loaded", __func__);

  // Power cycle chip
  // Power on the controller

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

  // Get the UART socket(s)