diff options
author | Luke Zhang <lukez@codeaurora.org> | 2017-07-16 11:54:53 -0700 |
---|---|---|
committer | Rashed Abdel-Tawab <rashed@linux.com> | 2017-10-28 18:23:18 -0700 |
commit | dc68710bbe7d2e79dc549b960a8f35cfd0a714a1 (patch) | |
tree | fdbc07d8c9cce52c2c277e6b33e9630e4586d908 | |
parent | c70e66c8c77b991ac0f9dfc2dec02a22ccb04dda (diff) | |
download | android_system_bt-dc68710bbe7d2e79dc549b960a8f35cfd0a714a1.tar.gz android_system_bt-dc68710bbe7d2e79dc549b960a8f35cfd0a714a1.tar.bz2 android_system_bt-dc68710bbe7d2e79dc549b960a8f35cfd0a714a1.zip |
Prevent abort in case of command timeoutstaging/lineage-15.0_rebase-android-8.0.0_r23
In case of command timeout, if we have crash SOC and collect ram
dumps, then we do not need to call abort() anymore.
CRs-fixed: 2074622
Change-Id: I13a0fc0fbaa21ee2ef400d6295eecad0865ffcad
-rw-r--r-- | hci/src/hci_layer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hci/src/hci_layer.cc b/hci/src/hci_layer.cc index 05575989f..ecf7d6e20 100644 --- a/hci/src/hci_layer.cc +++ b/hci/src/hci_layer.cc @@ -509,7 +509,7 @@ static void command_timed_out(void* original_wait_entry) { // We shouldn't try to recover the stack from this command timeout. // If it's caused by a software bug, fix it. If it's a hardware bug, fix it. - abort(); + exit(0); } // Event/packet receiving functions |