diff options
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 2012-05-08 11:23:03 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-05-08 12:19:46 +0300 |
commit | 990eccc417dc72890e1f68e7309d765f4b184dab (patch) | |
tree | a8dcee88e6f014ece0a5e1be58350a24d18dde7b | |
parent | 71048173767883f6c9d4468f98378c654419f780 (diff) | |
download | connman-990eccc417dc72890e1f68e7309d765f4b184dab.tar.gz connman-990eccc417dc72890e1f68e7309d765f4b184dab.tar.bz2 connman-990eccc417dc72890e1f68e7309d765f4b184dab.zip |
gsupplicant: Use the right dbus helper when adding a fixed array in a dict
Fixes BMC#25120
-rw-r--r-- | gsupplicant/supplicant.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c index 2c1a9284..dd1502f2 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 |