From def96dac88553b549002b6528a89a2cff31cfa86 Mon Sep 17 00:00:00 2001 From: Ajay Kumar Date: Fri, 6 Nov 2015 13:13:42 +0530 Subject: [PATCH] Bluetooth: Kill the BT process immediately on detecting SSR Kill the BT process immediately on detecting SSR CRs-Fixed: 801039 Change-Id: Id5007914140aa26c08579ca85f7622c79d73a00f --- stack/btu/btu_hcif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack/btu/btu_hcif.c b/stack/btu/btu_hcif.c index 4aa2bd7a2..c5b461a80 100644 --- a/stack/btu/btu_hcif.c +++ b/stack/btu/btu_hcif.c @@ -1155,7 +1155,7 @@ static void btu_hcif_hardware_error_evt (UINT8 *p) if (BTM_IsDeviceUp()) BTM_DeviceReset (NULL); - if(*p == 0x0f) + if(*p == 0x0f || (*p == 0x0a)) { HCI_TRACE_ERROR("Ctlr H/w error event - code:Tigger SSR"); bte_ssr_cleanup(0x33);//SSR reason 0x33 = HW ERR EVT -- 2.11.0