From 9a3a941ae455e4481392fb3e5d6b87750d0d9609 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 12 Mar 2008 19:21:33 +0000 Subject: Hook up server probe/remove callbacks --- hcid/dbus-hci.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hcid/dbus-hci.c') diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c index 62209956..69c289d6 100644 --- a/hcid/dbus-hci.c +++ b/hcid/dbus-hci.c @@ -378,6 +378,8 @@ int unregister_adapter_path(const char *path) info("Unregister path: %s", path); + __remove_servers(path); + dbus_connection_get_object_user_data(connection, path, (void *) &adapter); @@ -515,6 +517,8 @@ int hcid_dbus_register_device(uint16_t id) DBUS_TYPE_STRING, &pptr, DBUS_TYPE_INVALID); + __probe_servers(path); + return 0; failed: -- cgit