Bluetooth: Print events opcodes as hex
This makes logs easier to read as those are defined as hex values. Change-Id: I67f1dc0da9056a69398faf55fd5535a67ec4ebb9 Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
parent
d4983df3b1
commit
19ff3d3e37
1 changed files with 2 additions and 2 deletions
|
@ -2495,7 +2495,7 @@ static void hci_le_meta_event(struct net_buf *buf)
|
|||
le_adv_report(buf);
|
||||
break;
|
||||
default:
|
||||
BT_DBG("Unhandled LE event %x", evt->subevent);
|
||||
BT_DBG("Unhandled LE event 0x%02x", evt->subevent);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2504,7 +2504,7 @@ static void hci_event(struct net_buf *buf)
|
|||
{
|
||||
struct bt_hci_evt_hdr *hdr = (void *)buf->data;
|
||||
|
||||
BT_DBG("event %u", hdr->evt);
|
||||
BT_DBG("event 0x%02x", hdr->evt);
|
||||
|
||||
net_buf_pull(buf, sizeof(*hdr));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue