From b5f810d74530a62bb389d40ade8581f7317bf3a9 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 22 Sep 2008 16:07:53 -0700 Subject: Update devices list property when a new device is created/removed. --- src/dbus-hci.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dbus-hci.c') diff --git a/src/dbus-hci.c b/src/dbus-hci.c index 8d5ad1ce..7f142099 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -554,6 +554,8 @@ void hcid_dbus_bonding_process_complete(bdaddr_t *local, bdaddr_t *peer, DBUS_TYPE_OBJECT_PATH, &dev_path, DBUS_TYPE_INVALID); + adapter_update_devices(adapter); + dbus_connection_emit_property_changed(connection, dev_path, DEVICE_INTERFACE, "Paired", DBUS_TYPE_BOOLEAN, &paired); -- cgit