From 313e5f9c034d7b1fa958b7d42987533591c3cc61 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 14 Jul 2016 14:13:58 +0200 Subject: [PATCH] hci: log cause for hardware error --- src/hci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hci.c b/src/hci.c index bae1a7f04..2a27a4118 100644 --- a/src/hci.c +++ b/src/hci.c @@ -1727,6 +1727,7 @@ static void event_handler(uint8_t *packet, int size){ break; case HCI_EVENT_HARDWARE_ERROR: + log_error("Hardware Error: 0x%02x", packet[2]); if (hci_stack->hardware_error_callback){ (*hci_stack->hardware_error_callback)(); } else {