Merge "Bluetooth: No power off before power on"

am: 2e429d6b64

Change-Id: If65b972e390b50add2412c1d91c259210405aa5c
This commit is contained in:
Myles Watson
2017-03-13 23:57:39 +00:00
committed by android-build-merger

View File

@@ -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)