wpa_supplicant: make key_mgmt default to NONE

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31145 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2012-03-29 16:30:13 +00:00
parent 2f2034752c
commit 5b15d418b9
1 changed files with 2 additions and 4 deletions

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