summaryrefslogtreecommitdiff
path: root/gsupplicant
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2011-02-02 23:51:08 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2011-02-02 23:51:08 (GMT)
commit9005c12b628c4e8b3a2580b68be6b6b333b912f5 (patch)
treec20e5dc56c1c3d6274d6acbdb7a3bb664aed6293 /gsupplicant
parent4c168e988c9540e65efbe665710ea8133a104906 (diff)
downloadconnman-9005c12b628c4e8b3a2580b68be6b6b333b912f5.zip
connman-9005c12b628c4e8b3a2580b68be6b6b333b912f5.tar.gz
connman-9005c12b628c4e8b3a2580b68be6b6b333b912f5.tar.bz2
gsupplicant: Add ciphers only for WPA PSK and EAP
Diffstat (limited to 'gsupplicant')
-rw-r--r--gsupplicant/supplicant.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index 97e5858..7a3fd4c 100644
--- a/gsupplicant/supplicant.c
+++ b/gsupplicant/supplicant.c
@@ -2773,17 +2773,17 @@ static void add_network_security(DBusMessageIter *dict, GSupplicantSSID *ssid)
case G_SUPPLICANT_SECURITY_PSK:
key_mgmt = "WPA-PSK";
add_network_security_psk(dict, ssid);
+ add_network_security_ciphers(dict, ssid);
add_network_security_proto(dict, ssid);
break;
case G_SUPPLICANT_SECURITY_IEEE8021X:
key_mgmt = "WPA-EAP";
add_network_security_eap(dict, ssid);
+ add_network_security_ciphers(dict, ssid);
add_network_security_proto(dict, ssid);
break;
}
- add_network_security_ciphers(dict, ssid);
-
supplicant_dbus_dict_append_basic(dict, "key_mgmt",
DBUS_TYPE_STRING, &key_mgmt);
}