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

SVN-Revision: 23657
This commit is contained in:
Jo-Philipp Wich 2010-10-27 11:25:59 +00:00
parent 0280ac8c92
commit 1b495361a0

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