mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 19:25:21 +02:00
wpa_supplicant: make key_mgmt default to NONE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31145 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8600b97ee6
commit
2010214af9
@ -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
Block a user