mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:55:55 +02:00
Allow the use of psk+psk2 (ap mode only). Thanks ragorn
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7682 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8fc781e83e
commit
7f44b2ab9e
@ -152,7 +152,8 @@ enable_broadcom() {
|
||||
wsec_r=1
|
||||
config_get key "$vif" key
|
||||
case "$enc" in
|
||||
wpa2*|WPA2*|PSK2*|psk2*) auth=128; wsec=4;;
|
||||
wpa*+wpa2*|WPA*+WPA2*|*psk+*psk2|*PSK+*PSK2) auth=132; wsec=6;;
|
||||
wpa2*|WPA2*|*PSK2|*psk2) auth=128; wsec=4;;
|
||||
*) auth=4; wsec=2;;
|
||||
esac
|
||||
eval "${vif}_key=\"\$key\""
|
||||
@ -165,6 +166,7 @@ enable_broadcom() {
|
||||
config_get server "$vif" server
|
||||
config_get port "$vif" port
|
||||
case "$enc" in
|
||||
wpa*+wpa2*|WPA*+WPA2*) auth=66; wsec=6;;
|
||||
wpa2*|WPA2*) auth=64; wsec=4;;
|
||||
*) auth=2; wsec=2;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user