Skip to content

Commit ce71757

Browse files
committed
Bluetooth: Host: Add log to identify HCI driver
This is generally useful information, but in particular convenient when debugging e.g. bsim test failures. Signed-off-by: Johan Hedberg <[email protected]>
1 parent 570283a commit ce71757

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

subsys/bluetooth/host/hci_core.c

+1
Original file line numberDiff line numberDiff line change
@@ -3800,6 +3800,7 @@ static void bt_dev_show_info(void)
38003800
{
38013801
int i;
38023802

3803+
LOG_INF("HCI transport: %s", BT_HCI_NAME);
38033804
LOG_INF("Identity%s: %s", bt_dev.id_count > 1 ? "[0]" : "",
38043805
bt_addr_le_str(&bt_dev.id_addr[0]));
38053806

subsys/bluetooth/host/hci_raw.c

+1
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ int bt_enable_raw(struct k_fifo *rx_queue)
308308
return err;
309309
}
310310

311+
LOG_INF("Lower HCI transport: %s", BT_HCI_NAME);
311312
LOG_INF("Bluetooth enabled in RAW mode");
312313

313314
return 0;

0 commit comments

Comments
 (0)