aboutsummaryrefslogtreecommitdiff
path: root/src/adapter.c
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2011-03-28 19:40:49 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2011-03-30 19:15:52 +0300
commitfc19dbe0d03b4d142934ca1544a76e5ad91ee827 (patch)
tree5a0473af284e4fd885e5f290e0bb3fe920018547 /src/adapter.c
parentbb5eda2bc85b68e9cf3908f39972b476afb6633f (diff)
downloadbluez-fc19dbe0d03b4d142934ca1544a76e5ad91ee827.tar.gz
Remove _init and _exit methods from Attrib client
Now that Attrib client is being moved to the core, there's no need to have explicit _init and _exit methods. This also means that we need to pass the DBusConnection explicitly to the registration method.
Diffstat (limited to 'src/adapter.c')
-rw-r--r--src/adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adapter.c b/src/adapter.c
index 26a88608..a85345bc 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -2185,7 +2185,7 @@ static void create_stored_device_from_primary(char *key, char *value,
}
/* FIXME: Need the correct psm */
- attrib_client_register(device, -1, services);
+ attrib_client_register(connection, device, -1, services);
device_probe_drivers(device, uuids);