summaryrefslogtreecommitdiff
path: root/gsupplicant
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2012-05-08 08:23:03 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-05-08 09:19:46 (GMT)
commit990eccc417dc72890e1f68e7309d765f4b184dab (patch)
treea8dcee88e6f014ece0a5e1be58350a24d18dde7b /gsupplicant
parent71048173767883f6c9d4468f98378c654419f780 (diff)
downloadconnman-990eccc417dc72890e1f68e7309d765f4b184dab.zip
connman-990eccc417dc72890e1f68e7309d765f4b184dab.tar.gz
connman-990eccc417dc72890e1f68e7309d765f4b184dab.tar.bz2
gsupplicant: Use the right dbus helper when adding a fixed array in a dict
Fixes BMC#25120
Diffstat (limited to 'gsupplicant')
-rw-r--r--gsupplicant/supplicant.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index 2c1a928..dd1502f 100644
--- a/gsupplicant/supplicant.c
+++ b/gsupplicant/supplicant.c
@@ -2966,9 +2966,8 @@ static void add_network_security_psk(DBusMessageIter *dict,
GSupplicantSSID *ssid)
{
if (ssid->passphrase && strlen(ssid->passphrase) > 0) {
-
if (is_psk_raw_key(ssid->passphrase) == TRUE)
- supplicant_dbus_property_append_fixed_array(dict,
+ supplicant_dbus_dict_append_fixed_array(dict,
"psk", DBUS_TYPE_BYTE,
&ssid->passphrase, 64);
else