From 4488fc6cabb989ec081198389706657b6b15fe5c Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 22 Apr 2016 14:42:59 +0300 Subject: Bluetooth: Move HCI device bus information to the driver The bus that we notify over the monitor protocol is really driver specific, so let each driver specify their bus type. Change-Id: Ic3a086fcc06352dbf051e52cef5bf6b8696349ae 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 77824dc02..0dd473152 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 = { + .bus = BT_DRIVER_BUS_VIRTUAL, .open = driver_open, .send = driver_send, }; -- cgit v1.2.3