madwifi: fix syntax error introduced by r23660

SVN-Revision: 23679
This commit is contained in:
Jo-Philipp Wich 2010-10-27 17:46:31 +00:00
parent a932a9beca
commit 87d81bc050

View File

@ -219,7 +219,7 @@ enable_atheros() {
case "$enc" in
*shared*) iwpriv "$ifname" authmode 2;;
*) iwpriv "$ifname" authmode 1;;
;;
esac
for idx in 1 2 3 4; do
config_get key "$vif" "key${idx}"
iwconfig "$ifname" enc "[$idx]" "${key:-off}"