diff options
author | Ajay Kumar <ajayku@codeaurora.org> | 2015-07-13 10:29:03 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-07-18 12:34:43 -0700 |
commit | 39d1e579b147c705e2842d951ae6edca2c0c2ee0 (patch) | |
tree | c63b85d684e055c2e9b2595d405c52a7c21b9e66 | |
parent | 33146d4bc84df1c1e493ef165da7a9ae77dfd3ae (diff) | |
download | android_hardware_qcom_bt-39d1e579b147c705e2842d951ae6edca2c0c2ee0.tar.gz android_hardware_qcom_bt-39d1e579b147c705e2842d951ae6edca2c0c2ee0.tar.bz2 android_hardware_qcom_bt-39d1e579b147c705e2842d951ae6edca2c0c2ee0.zip |
Bluetooth: Removing userial cleaup from SSR cleanup
Userial cleanup on pronto should be closed by userial
layer where the Rx thread is made to exit first which
is missing here.
CRs-Fixed: 868730
Change-Id: I05a781e3a8bf571ff524f2649106e36767fff0ae
-rw-r--r-- | libbt-vendor/src/bt_vendor_qcom.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libbt-vendor/src/bt_vendor_qcom.c b/libbt-vendor/src/bt_vendor_qcom.c index b8b66ae..cb5491f 100644 --- a/libbt-vendor/src/bt_vendor_qcom.c +++ b/libbt-vendor/src/bt_vendor_qcom.c @@ -1058,12 +1058,11 @@ static void ssr_cleanup(void) { * turns off*/ op(BT_VND_OP_POWER_CTRL, &pwr_state); - } else { - //pronto case - op(BT_VND_OP_USERIAL_CLOSE, NULL); } +#ifdef BT_SOC_TYPE_ROME /*Generally switching of chip should be enough*/ op(BT_VND_OP_POWER_CTRL, &pwr_state); +#endif } |