mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-10 23:21:56 +02: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:
parent
86882a55f9
commit
114cdb3c01
@ -215,7 +215,11 @@ enable_atheros() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case "$enc" in
|
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
|
for idx in 1 2 3 4; do
|
||||||
config_get key "$vif" "key${idx}"
|
config_get key "$vif" "key${idx}"
|
||||||
iwconfig "$ifname" enc "[$idx]" "${key:-off}"
|
iwconfig "$ifname" enc "[$idx]" "${key:-off}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user