summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/manager.c b/src/manager.c
index 939a5639..ccaa1a23 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -59,11 +59,6 @@ const char *manager_get_base_path(void)
return base_path;
}
-void manager_update_svc(struct btd_adapter* adapter, uint8_t svc)
-{
- adapter_set_service_classes(adapter, svc);
-}
-
static inline DBusMessage *no_such_adapter(DBusMessage *msg)
{
return g_dbus_create_error(msg,
@@ -504,3 +499,14 @@ void btd_manager_set_offline(gboolean offline)
btd_adapter_restore_powered(adapter);
}
}
+
+void btd_manager_set_did(uint16_t vendor, uint16_t product, uint16_t version)
+{
+ GSList *l;
+
+ for (l = adapters; l != NULL; l = g_slist_next(l)) {
+ struct btd_adapter *adapter = l->data;
+
+ btd_adapter_set_did(adapter, vendor, product, version);
+ }
+}