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 <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2017-05-15 14:20:12 +02:00 committed by Johan Hedberg
commit 6d1ea67144

View file

@ -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) {