wpa_supplicant: make key_mgmt default to NONE
SVN-Revision: 31145
This commit is contained in:
parent
e9c4d3d1f2
commit
34ccdb348d
1 changed files with 2 additions and 4 deletions
|
@ -35,12 +35,10 @@ wpa_supplicant_setup_vif() {
|
||||||
}
|
}
|
||||||
[ "$mode" = "adhoc" ] && modestr="mode=1"
|
[ "$mode" = "adhoc" ] && modestr="mode=1"
|
||||||
|
|
||||||
|
key_mgmt='NONE'
|
||||||
case "$enc" in
|
case "$enc" in
|
||||||
*none*)
|
*none*) ;;
|
||||||
key_mgmt='NONE'
|
|
||||||
;;
|
|
||||||
*wep*)
|
*wep*)
|
||||||
key_mgmt='NONE'
|
|
||||||
config_get key "$vif" key
|
config_get key "$vif" key
|
||||||
key="${key:-1}"
|
key="${key:-1}"
|
||||||
case "$key" in
|
case "$key" in
|
||||||
|
|
Loading…
Reference in a new issue