diff options
author | Julien Massot <jmassot@aldebaran-robotics.com> | 2011-07-21 11:46:39 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-07-21 14:15:42 +0200 |
commit | bae0eed36b4f7cab4f21039c81ca01be9f933445 (patch) | |
tree | 7616a4b27b75105483b5def65034d04bcc6f6c12 /gsupplicant | |
parent | fd6684752ff6f59de47e07dd850d5e3366f3ef3d (diff) | |
download | connman-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.c | 1 |
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"; |