summaryrefslogtreecommitdiff
path: root/tests/bluetooth/test_bluetooth/src
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2016-04-22 15:13:09 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2016-04-22 18:49:11 +0300
commite3e91d328016553fb26dbd35c4152b10e6ca4691 (patch)
treef46fdf8779598c206b45c793d23e0e4238f169e1 /tests/bluetooth/test_bluetooth/src
parent4488fc6cabb989ec081198389706657b6b15fe5c (diff)
Bluetooth: Add name member to HCI driver struct
This is more of a convenience to let the driver identify itself in debug logs and the monitor protocol. Change-Id: I73351477e98d45d6344c180b8088bde29df6f7d9 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'tests/bluetooth/test_bluetooth/src')
-rw-r--r--tests/bluetooth/test_bluetooth/src/bluetooth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bluetooth/test_bluetooth/src/bluetooth.c b/tests/bluetooth/test_bluetooth/src/bluetooth.c
index 0dd473152..a0908c9e3 100644
--- a/tests/bluetooth/test_bluetooth/src/bluetooth.c
+++ b/tests/bluetooth/test_bluetooth/src/bluetooth.c
@@ -40,6 +40,7 @@ static int driver_send(struct net_buf *buf)
}
static struct bt_driver drv = {
+ .name = "test",
.bus = BT_DRIVER_BUS_VIRTUAL,
.open = driver_open,
.send = driver_send,