gsupplicant: Use the right dbus helper when adding a fixed array in a dict
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Tue, 8 May 2012 08:23:03 +0000 (11:23 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 8 May 2012 09:19:46 +0000 (12:19 +0300)
Fixes BMC#25120

gsupplicant/supplicant.c

index 2c1a928..dd1502f 100644 (file)
@@ -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