wpa_supplicant: make key_mgmt default to NONE

SVN-Revision: 31145
This commit is contained in:
Felix Fietkau 2012-03-29 16:30:13 +00:00
parent e9c4d3d1f2
commit 34ccdb348d

View file

@ -35,12 +35,10 @@ wpa_supplicant_setup_vif() {
}
[ "$mode" = "adhoc" ] && modestr="mode=1"
key_mgmt='NONE'
case "$enc" in
*none*)
key_mgmt='NONE'
;;
*none*) ;;
*wep*)
key_mgmt='NONE'
config_get key "$vif" key
key="${key:-1}"
case "$key" in