OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3e724b
)
Bluetooth: Kill the BT process immediately on detecting SSR
author
Ajay Kumar
<ajayku@codeaurora.org>
Fri, 6 Nov 2015 07:43:42 +0000
(13:13 +0530)
committer
Linux Build Service Account
<lnxbuild@localhost>
Wed, 24 Aug 2016 14:09:52 +0000
(08:09 -0600)
Kill the BT process immediately on detecting SSR
CRs-Fixed: 801039
Change-Id: Id5007914140aa26c08579ca85f7622c79d73a00f
stack/btu/btu_hcif.c
patch
|
blob
|
history
diff --git
a/stack/btu/btu_hcif.c
b/stack/btu/btu_hcif.c
index
4aa2bd7
..
c5b461a
100644
(file)
--- 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