Although the logic for handling property call list was
available, the property call list was not being populated.
---
 gsupplicant/dbus.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gsupplicant/dbus.c b/gsupplicant/dbus.c
index 130306e..4ff5d50 100644
--- a/gsupplicant/dbus.c
+++ b/gsupplicant/dbus.c
@@ -240,6 +240,8 @@ int supplicant_dbus_property_get_all(const char *path, 
const char *interface,
        property_call->function = function;
        property_call->user_data = user_data;
 
+       property_calls = g_slist_prepend(property_calls, property_call);
+
        dbus_pending_call_set_notify(call, property_get_all_reply,
                                property_call, property_call_free);
 
@@ -327,6 +329,8 @@ int supplicant_dbus_property_get(const char *path, const 
char *interface,
        property_call->function = function;
        property_call->user_data = user_data;
 
+       property_calls = g_slist_prepend(property_calls, property_call);
+
        dbus_pending_call_set_notify(call, property_get_reply,
                                        property_call, property_call_free);
 
@@ -419,6 +423,8 @@ int supplicant_dbus_property_set(const char *path, const 
char *interface,
        property_call->function = function;
        property_call->user_data = user_data;
 
+       property_calls = g_slist_prepend(property_calls, property_call);
+
        dbus_pending_call_set_notify(call, property_set_reply,
                                        property_call, property_call_free);
 
-- 
1.9.1

_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to