summaryrefslogtreecommitdiff
path: root/gsupplicant
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-12-09 01:31:54 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2010-12-15 20:43:49 +0100
commit3a468316c62172f89e3b4d2a9750c46466c7f477 (patch)
tree24c790b84541a0daabaef7b3c3bba17bda292f4a /gsupplicant
parent58e6f9b2850245c71888e0f762c9fa191f85cad5 (diff)
downloadconnman-3a468316c62172f89e3b4d2a9750c46466c7f477.tar.gz
connman-3a468316c62172f89e3b4d2a9750c46466c7f477.tar.bz2
connman-3a468316c62172f89e3b4d2a9750c46466c7f477.zip
gsupplicant: Support empty property set responses
Diffstat (limited to 'gsupplicant')
-rw-r--r--gsupplicant/dbus.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gsupplicant/dbus.c b/gsupplicant/dbus.c
index 53c56ae4..e0142650 100644
--- a/gsupplicant/dbus.c
+++ b/gsupplicant/dbus.c
@@ -285,13 +285,11 @@ static void property_set_reply(DBusPendingCall *call, void *user_data)
else
error = NULL;
- if (dbus_message_iter_init(reply, &iter) == FALSE)
- goto done;
+ dbus_message_iter_init(reply, &iter);
if (data->function != NULL)
data->function(error, &iter, data->user_data);
-done:
dbus_message_unref(reply);
dbus_pending_call_unref(call);