summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorisaluja <isaluja@broadcom.com>2014-08-29 21:33:23 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-29 21:33:23 +0000
commita2e3e9cfb953c85abe1855bb17cd1fc88e2c9deb (patch)
tree48a382d96994be995f6890cab303752954c67655
parent2ff8d8600f4c1333d1ae9916edd95603d6b45826 (diff)
parent1798e093fd12c3aaa2d68600098d4dbf16c8f571 (diff)
downloadandroid_hardware_broadcom_libbt-a2e3e9cfb953c85abe1855bb17cd1fc88e2c9deb.tar.gz
android_hardware_broadcom_libbt-a2e3e9cfb953c85abe1855bb17cd1fc88e2c9deb.tar.bz2
android_hardware_broadcom_libbt-a2e3e9cfb953c85abe1855bb17cd1fc88e2c9deb.zip
am 1798e093: am 9e55377d: libbt-vendor : Modified hardware config sequence
* commit '1798e093fd12c3aaa2d68600098d4dbf16c8f571': libbt-vendor : Modified hardware config sequence
-rwxr-xr-xsrc/hardware.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/hardware.c b/src/hardware.c
index db7d26a..e0f4e9c 100755
--- a/src/hardware.c
+++ b/src/hardware.c
@@ -228,7 +228,7 @@ static uint8_t bt_sco_i2spcm_param[SCO_I2SPCM_PARAM_SIZE] =
*/
static const fw_settlement_entry_t fw_settlement_table[] = {
{"BCM43241", 200},
- {"BCM43341", 200},
+ {"BCM43341", 100},
{(const char *) NULL, 100} // Giving the generic fw settlement delay setting.
};
@@ -766,7 +766,13 @@ void hw_config_cback(void *p_mem)
ALOGI("Setting fw settlement delay to %d ", delay);
ms_delay(delay);
- /* fall through intentionally */
+ p_buf->len = HCI_CMD_PREAMBLE_SIZE;
+ UINT16_TO_STREAM(p, HCI_RESET);
+ *p = 0; /* parameter length */
+ hw_cfg_cb.state = HW_CFG_START;
+ is_proceeding = bt_vendor_cbacks->xmit_cb(HCI_RESET, p_buf, hw_config_cback);
+ break;
+
case HW_CFG_START:
if (UART_TARGET_BAUD_RATE > 3000000)
{