mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
madwifi: add wep+open, wep+shared format support to madwifi as well
SVN-Revision: 23657
This commit is contained in:
parent
0280ac8c92
commit
1b495361a0
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user