wpa_supplicant: make key_mgmt default to NONE

SVN-Revision: 31145
master
Felix Fietkau 13 years ago
parent e9c4d3d1f2
commit 34ccdb348d
  1. 6
      package/hostapd/files/wpa_supplicant.sh

@ -35,12 +35,10 @@ wpa_supplicant_setup_vif() {
} }
[ "$mode" = "adhoc" ] && modestr="mode=1" [ "$mode" = "adhoc" ] && modestr="mode=1"
case "$enc" in
*none*)
key_mgmt='NONE' key_mgmt='NONE'
;; case "$enc" in
*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…
Cancel
Save