mirror of https://github.com/hak5/openwrt-owl.git
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…
Reference in New Issue