1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 22:34:04 +02:00

[backfire] merge r23657

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23658 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-10-27 11:26:55 +00:00
parent dc052fc1f4
commit d6278941db

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}"