wpa_supplicant: make key_mgmt default to NONE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31145 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
2f2034752c
commit
5b15d418b9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue