[PATCH] technology: Add object path to TechnologyAdded signal

Daniel Wagner wagi at monom.org
Fri Jan 20 00:05:12 PST 2012


From: Daniel Wagner <daniel.wagner at bmw-carit.de>

As it is described in the manager-api.txt document.
---
 src/technology.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/technology.c b/src/technology.c
index f1d22a9..1f3cdf5 100644
--- a/src/technology.c
+++ b/src/technology.c
@@ -449,6 +449,8 @@ static void technology_added_signal(struct connman_technology *technology)
 		return;
 
 	dbus_message_iter_init_append(signal, &iter);
+	dbus_message_iter_append_basic(&iter, DBUS_TYPE_OBJECT_PATH,
+							&technology->path);
 	append_properties(&iter, technology);
 
 	dbus_connection_send(connection, signal, NULL);
-- 
1.7.8.2.325.g247f9



More information about the connman mailing list