summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKausik Sinnaswamy <kausik@broadcom.com>2012-08-30 17:05:31 +0530
committerMatthew Xie <mattx@google.com>2012-08-30 11:46:47 -0700
commit7411d66877f2364b1cbee846cd64260704176608 (patch)
tree3a16276ffb3d433733a87684ca9037c5bcd52d5e
parent1c613c3623cce7402f3f7b56956a1386a54c13f3 (diff)
downloadexternal_bluetooth_bluedroid-7411d66877f2364b1cbee846cd64260704176608.zip
external_bluetooth_bluedroid-7411d66877f2364b1cbee846cd64260704176608.tar.gz
external_bluetooth_bluedroid-7411d66877f2364b1cbee846cd64260704176608.tar.bz2
Enhanced log traces to print h/w error code
Prints the error code of hardware failure for the BR/EDR Controller Change-Id: I8c5172d9485ef0d71668969789fdacd720a2067f
-rw-r--r--stack/btu/btu_hcif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stack/btu/btu_hcif.c b/stack/btu/btu_hcif.c
index ebacf93..1ee6b94 100644
--- a/stack/btu/btu_hcif.c
+++ b/stack/btu/btu_hcif.c
@@ -1597,7 +1597,7 @@ void btu_hcif_cmd_timeout (UINT8 controller_id)
*******************************************************************************/
static void btu_hcif_hardware_error_evt (UINT8 *p, UINT16 evt_len)
{
- BT_TRACE_0 (TRACE_LAYER_HCI, TRACE_TYPE_ERROR, "Ctlr H/w error event");
+ BT_TRACE_1 (TRACE_LAYER_HCI, TRACE_TYPE_ERROR, "Ctlr H/w error event - code:0x%x", *p);
/* If anyone wants device status notifications, give him one. */
btm_report_device_status (BTM_DEV_STATUS_DOWN);