summaryrefslogtreecommitdiff
path: root/gsupplicant
diff options
context:
space:
mode:
authorJulien Massot <jmassot@aldebaran-robotics.com>2011-07-21 11:46:39 +0000
committerMarcel Holtmann <marcel@holtmann.org>2011-07-21 14:15:42 +0200
commitbae0eed36b4f7cab4f21039c81ca01be9f933445 (patch)
tree7616a4b27b75105483b5def65034d04bcc6f6c12 /gsupplicant
parentfd6684752ff6f59de47e07dd850d5e3366f3ef3d (diff)
downloadconnman-bae0eed36b4f7cab4f21039c81ca01be9f933445.tar.gz
connman-bae0eed36b4f7cab4f21039c81ca01be9f933445.tar.bz2
connman-bae0eed36b4f7cab4f21039c81ca01be9f933445.zip
gsupplicant: set the cipher even if security is WEP
This patch fix an issue with WEP40, i tested it with WEP40 WEP104 and open AP. It set the group cipher even if security is WEP otherwise connman won't connect to WEP40 service.
Diffstat (limited to 'gsupplicant')
-rw-r--r--gsupplicant/supplicant.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index bbb04ae5..e5743f01 100644
--- a/gsupplicant/supplicant.c
+++ b/gsupplicant/supplicant.c
@@ -2817,6 +2817,7 @@ static void add_network_security(DBusMessageIter *dict, GSupplicantSSID *ssid)
case G_SUPPLICANT_SECURITY_WEP:
key_mgmt = "NONE";
add_network_security_wep(dict, ssid);
+ add_network_security_ciphers(dict, ssid);
break;
case G_SUPPLICANT_SECURITY_PSK:
key_mgmt = "WPA-PSK";