summaryrefslogtreecommitdiffstats
path: root/audio/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/device.c')
-rw-r--r--audio/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/device.c b/audio/device.c
index af7cca80..1d39cb16 100644
--- a/audio/device.c
+++ b/audio/device.c
@@ -140,7 +140,7 @@ struct device *device_register(DBusConnection *conn,
return NULL;
bacpy(&src, BDADDR_ANY);
- dev_id = hci_get_route(NULL);
+ dev_id = hci_get_route(&src);
if ((dev_id < 0) || (hci_devba(dev_id, &src) < 0))
return NULL;