universal7580: bt voice: call sco config after initializing BT firmware
authormaniacx <macs18max@gmail.com>
Mon, 11 Jun 2018 11:45:10 +0000 (19:45 +0800)
committerJan Altensen <info@stricted.net>
Fri, 16 Aug 2019 21:18:39 +0000 (23:18 +0200)
Change-Id: Icc55ff2311244dedab0caa17d8279f455aee7e46

hardware/bluetooth/vendor_interface.cc

index a8f5bb403d31d4cb3992b2a7c33a11403301a4a7..af89f812600a07fb46c8cd004d1dd4d49fbdfba3 100644 (file)
@@ -339,6 +339,8 @@ void VendorInterface::OnFirmwareConfigured(uint8_t result) {
     initialize_complete_cb_ = nullptr;
   }
 
+  lib_interface_->op(BT_VND_OP_SCO_CFG, nullptr);
+
   lib_interface_->op(BT_VND_OP_GET_LPM_IDLE_TIMEOUT, &lpm_timeout_ms);
   ALOGI("%s: lpm_timeout_ms %d", __func__, lpm_timeout_ms);