From: Julien Massot Date: Thu, 21 Jul 2011 11:46:39 +0000 (+0000) Subject: gsupplicant: set the cipher even if security is WEP X-Git-Tag: 0.77~93 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bae0eed36b4f7cab4f21039c81ca01be9f933445;p=platform%2Fupstream%2Fconnman.git 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. --- diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c index bbb04ae..e5743f0 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";