summaryrefslogtreecommitdiffstats
path: root/src/hardware.c
diff options
context:
space:
mode:
authortturney <tturney@google.com>2015-09-02 01:12:47 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-09-02 01:12:47 +0000
commit2d512f12d096413d7408e801050ccdaf14361256 (patch)
tree2c269edbb87074a41b67ea907191f0444c1adde2 /src/hardware.c
parentbad305c349cb77c3fb9cc3b276aa6fc958ca3f61 (diff)
parentb7b7af83922fc5918d2632402daa3824364806fb (diff)
downloadandroid_hardware_broadcom_libbt-2d512f12d096413d7408e801050ccdaf14361256.tar.gz
android_hardware_broadcom_libbt-2d512f12d096413d7408e801050ccdaf14361256.tar.bz2
android_hardware_broadcom_libbt-2d512f12d096413d7408e801050ccdaf14361256.zip
am b7b7af83: Fix btwrite timer timeout for Angler (1/2)
* commit 'b7b7af83922fc5918d2632402daa3824364806fb': Fix btwrite timer timeout for Angler (1/2)
Diffstat (limited to 'src/hardware.c')
-rwxr-xr-xsrc/hardware.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hardware.c b/src/hardware.c
index 9869ffa..b97d5f1 100755
--- a/src/hardware.c
+++ b/src/hardware.c
@@ -1220,9 +1220,10 @@ uint32_t hw_lpm_get_idle_timeout(void)
*/
timeout_ms = (uint32_t)lpm_param.host_stack_idle_threshold \
* LPM_IDLE_TIMEOUT_MULTIPLE;
-
if (strstr(hw_cfg_cb.local_chip_name, "BCM4325") != NULL)
timeout_ms *= 25; // 12.5 or 25 ?
+ else if (strstr(hw_cfg_cb.local_chip_name, "BCM4358") != NULL)
+ timeout_ms *= 50;
else
timeout_ms *= 300;