summaryrefslogtreecommitdiffstats
path: root/audio/control.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-09 15:00:09 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-09 15:13:28 +0200
commit17541956196b13ee083852fd4124cd8cfd0928a4 (patch)
treecc258c9f0ff98572036eea7879e79fb443053913 /audio/control.c
parent548026e08bd9b83b3685d515a916e2cf674184f3 (diff)
Add mechanism for adding new UUIDs from the driver side
With this patch drivers can notify the core daemon that a device supports some UUID. This is useful in case we don't have a service record for a profile which the remote device initiates a connection for.
Diffstat (limited to 'audio/control.c')
-rw-r--r--audio/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/control.c b/audio/control.c
index 8b3b2d8a..c8480197 100644
--- a/audio/control.c
+++ b/audio/control.c
@@ -686,7 +686,7 @@ static void avctp_server_cb(GIOChannel *chan, int err, const bdaddr_t *src,
goto drop;
}
- dev = manager_get_device(src, dst, NULL);
+ dev = manager_get_device(src, dst);
if (!dev) {
error("Unable to get audio device object for %s", address);
goto drop;