mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:01:52 +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"
|
[ "$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 New Issue
Block a user