From e3e91d328016553fb26dbd35c4152b10e6ca4691 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 22 Apr 2016 15:13:09 +0300 Subject: 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 --- tests/bluetooth/test_bluetooth/src/bluetooth.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/bluetooth/test_bluetooth/src') 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, -- cgit v1.2.3