From 6d1ea67144fc698a054bb07e9e5d533c8e00fd2c Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Mon, 15 May 2017 14:20:12 +0200 Subject: [PATCH] Bluetooth: hci_core: Log incoming LE Meta Event's subevents To better debug the flow of events into the Host, log the subevent code whenever processing an LE Meta Event. Signed-off-by: Carles Cufi --- subsys/bluetooth/host/hci_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subsys/bluetooth/host/hci_core.c b/subsys/bluetooth/host/hci_core.c index 64f58fca687..9297d88bf9e 100644 --- a/subsys/bluetooth/host/hci_core.c +++ b/subsys/bluetooth/host/hci_core.c @@ -2662,6 +2662,8 @@ static void hci_le_meta_event(struct net_buf *buf) { struct bt_hci_evt_le_meta_event *evt = (void *)buf->data; + BT_DBG("subevent 0x%02x", evt->subevent); + net_buf_pull(buf, sizeof(*evt)); switch (evt->subevent) {