diff options
| author | Ajay Kumar <ajayku@codeaurora.org> | 2015-05-05 20:16:17 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-05-19 00:25:53 -0700 |
| commit | 9cc0d561ff9e582ed917dff3afa6ef1fd665f468 (patch) | |
| tree | eda57aea044bfbf533c35eaa2b9ae8280d42f3ae | |
| parent | 8828781d50cf2d57fee2673537d533aec057f186 (diff) | |
| download | android_hardware_qcom_bt-9cc0d561ff9e582ed917dff3afa6ef1fd665f468.tar.gz android_hardware_qcom_bt-9cc0d561ff9e582ed917dff3afa6ef1fd665f468.tar.bz2 android_hardware_qcom_bt-9cc0d561ff9e582ed917dff3afa6ef1fd665f468.zip | |
Bluetooth: Removing vendor callback cleanup after enable_timeout
while enable_timeout cleanup, libbt interface will be used
in sending vendor callbacks for stop services and epilog.
This is causing the epilog timeout and crash in many cases.
Change-Id: Idc7e3f6ba0d8786cb495830a0876660179359426
| -rw-r--r-- | libbt-vendor/src/bt_vendor_qcom.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libbt-vendor/src/bt_vendor_qcom.c b/libbt-vendor/src/bt_vendor_qcom.c index 7789452..6d10521 100644 --- a/libbt-vendor/src/bt_vendor_qcom.c +++ b/libbt-vendor/src/bt_vendor_qcom.c @@ -1051,13 +1051,12 @@ 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 - bt_vendor_cbacks = NULL; } |
