From 39d1e579b147c705e2842d951ae6edca2c0c2ee0 Mon Sep 17 00:00:00 2001 From: Ajay Kumar Date: Mon, 13 Jul 2015 10:29:03 +0530 Subject: 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 --- libbt-vendor/src/bt_vendor_qcom.c | 5 ++--- 1 file 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 } -- cgit v1.2.3