mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
wpa_supplicant: make key_mgmt default to NONE
SVN-Revision: 31145
This commit is contained in:
parent
e9c4d3d1f2
commit
34ccdb348d
@ -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…
x
Reference in New Issue
Block a user