summaryrefslogtreecommitdiff
path: root/tests/bluetooth/test_bluetooth/src
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2016-04-22 14:42:59 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2016-04-22 18:49:11 +0300
commit4488fc6cabb989ec081198389706657b6b15fe5c (patch)
tree805c85f0312d4f06b36054aa63ceff7c5336445f /tests/bluetooth/test_bluetooth/src
parent8c3add2b6abeec5df20b6311bdbdbe16542cb582 (diff)
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 <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 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,
};