summaryrefslogtreecommitdiffstats
path: root/src/device.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/device.c
parent5ca10fa88a87d4c22ddb09a75372116bcb067f9b (diff)
Update devices list property when a new device is created/removed.
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index 7a06cd14..5eec2b4c 100644
--- a/src/device.c
+++ b/src/device.c
@@ -929,6 +929,9 @@ proceed:
DBUS_TYPE_OBJECT_PATH, &device->path,
DBUS_TYPE_INVALID);
+ /* Update device list */
+ adapter_update_devices(device->adapter);
+
/* Reply create device request */
reply = dbus_message_new_method_return(req->msg);
if (!reply)