Stop wcnss_filter if start timesout waiting for cb
Make sure wcnss_filter stops in error case so that the
stack can make use of it next time without doing a power_off.
If the stack were to also crash, there won't be a power_off
from the stack.
Bug: 64420262
Change-Id: I8b2ab5abbdd7c84a794d2d5bc9ff822fad257cc7
diff --git a/msm8998/libbt-vendor/src/bt_vendor_qcom.c b/msm8998/libbt-vendor/src/bt_vendor_qcom.c
index 8a8397c..a1f88fe 100644
--- a/msm8998/libbt-vendor/src/bt_vendor_qcom.c
+++ b/msm8998/libbt-vendor/src/bt_vendor_qcom.c
@@ -238,8 +238,8 @@
if ((is_soc_initialized() == true)
|| is_download_progress() || get_bt_soc_type() == BT_SOC_CHEROKEE)
{
- value++;
- ALOGV("%s: on : value is incremented to : %d", __func__, value);
+ //value++;
+ ALOGE("%s: on : value is already 1", __func__);
}
}
else
@@ -1022,6 +1022,8 @@
can reset SOC.
*/
property_set("wc_transport.hci_filter_status", "-1");
+ property_set("wc_transport.start_hci", "false");
+ bt_powerup(0);
} else {
#ifdef ENABLE_ANT
if (is_ant_req) {