From 7411d66877f2364b1cbee846cd64260704176608 Mon Sep 17 00:00:00 2001 From: Kausik Sinnaswamy Date: Thu, 30 Aug 2012 17:05:31 +0530 Subject: Enhanced log traces to print h/w error code Prints the error code of hardware failure for the BR/EDR Controller Change-Id: I8c5172d9485ef0d71668969789fdacd720a2067f --- 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 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); -- cgit v1.1