summaryrefslogtreecommitdiffstats
path: root/btif/src/btif_util.c
diff options
context:
space:
mode:
authorKausik Sinnaswamy <kausik@broadcom.com>2012-09-24 17:23:51 +0530
committerIliyan Malchev <malchev@google.com>2012-09-26 13:58:19 -0700
commitf8217980ebcc6a6800052d32f023ebd8f4fbf7fc (patch)
tree7a376aa6369b3d45a3595a2acc5220105fb1d603 /btif/src/btif_util.c
parentbc08278001ea3bdf9e08c2f754b129db34b09eb6 (diff)
downloadexternal_bluetooth_bluedroid-f8217980ebcc6a6800052d32f023ebd8f4fbf7fc.zip
external_bluetooth_bluedroid-f8217980ebcc6a6800052d32f023ebd8f4fbf7fc.tar.gz
external_bluetooth_bluedroid-f8217980ebcc6a6800052d32f023ebd8f4fbf7fc.tar.bz2
Trigger restart on BT Controller H/W error
On a Bluetooth chip h/w error, trigger an event from the core stack to restart the Bluetooth process. This would ensure that any state is cleaned up and the process starts from scratch Bug: 7001800 Change-Id: I57b0b44276585e2ae3c22ddbcc9d80bd467135b2 Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'btif/src/btif_util.c')
-rw-r--r--btif/src/btif_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/btif/src/btif_util.c b/btif/src/btif_util.c
index da23361..5539c11 100644
--- a/btif/src/btif_util.c
+++ b/btif/src/btif_util.c
@@ -275,6 +275,7 @@ const char* dump_dm_event(UINT16 event)
CASE_RETURN_STR(BTA_DM_BLE_LOCAL_ER_EVT)
CASE_RETURN_STR(BTA_DM_BLE_AUTH_CMPL_EVT)
CASE_RETURN_STR(BTA_DM_DEV_UNPAIRED_EVT)
+ CASE_RETURN_STR(BTA_DM_HW_ERROR_EVT)
default:
return "UNKNOWN DM EVENT";