summaryrefslogtreecommitdiffstats
path: root/src/dbus-hci.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-09-22 16:07:53 -0700
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-09-22 16:07:53 -0700
commitb5f810d74530a62bb389d40ade8581f7317bf3a9 (patch)
tree6634aba9b0de64763b6b3e9563f54391cb528bc6 /src/dbus-hci.c
parent5ca10fa88a87d4c22ddb09a75372116bcb067f9b (diff)
Update devices list property when a new device is created/removed.
Diffstat (limited to 'src/dbus-hci.c')
-rw-r--r--src/dbus-hci.c2
1 files changed, 2 insertions, 0 deletions
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);