[PATCH v2 6/9] technology: Call technology powered notification function

patrik.flykt at linux.intel.com patrik.flykt at linux.intel.com
Fri Nov 2 06:16:01 PDT 2012


From: Patrik Flykt <patrik.flykt at linux.intel.com>

---
 src/technology.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/technology.c b/src/technology.c
index 1ff8fb7..94bb2d4 100644
--- a/src/technology.c
+++ b/src/technology.c
@@ -1212,6 +1212,8 @@ static void powered_changed(struct connman_technology *technology)
 	}
 
 	__sync_synchronize();
+	__connman_notifier_notify_powered(technology->type,
+			technology->enabled);
 	connman_dbus_property_changed_basic(technology->path,
 			CONNMAN_TECHNOLOGY_INTERFACE, "Powered",
 			DBUS_TYPE_BOOLEAN, &technology->enabled);
-- 
1.7.10.4




More information about the connman mailing list