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.
case G_SUPPLICANT_SECURITY_WEP:
key_mgmt = "NONE";
add_network_security_wep(dict, 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";
break;
case G_SUPPLICANT_SECURITY_PSK:
key_mgmt = "WPA-PSK";