1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-01 09:11:59 +03:00

[package] madwifi: add wep+open, wep+shared format support to madwifi as well

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23657 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-10-27 11:25:59 +00:00
parent 86882a55f9
commit 114cdb3c01

View File

@ -215,7 +215,11 @@ enable_atheros() {
}
case "$enc" in
WEP|wep)
wep*)
case "$enc" in
*open*) iwpriv "$ifname" authmode 1;;
*) iwpriv "$ifname" authmode 2;;
;;
for idx in 1 2 3 4; do
config_get key "$vif" "key${idx}"
iwconfig "$ifname" enc "[$idx]" "${key:-off}"