Fix wep encryption setting with madwifi (#1173)

SVN-Revision: 6125
This commit is contained in:
Florian Fainelli 2007-01-18 14:43:21 +00:00
parent 73e982ce0c
commit 138f93e130

View File

@ -122,7 +122,7 @@ enable_atheros() {
iwconfig "$ifname" enc "[$idx]" "${key:-off}"
done
config_get key "$vif" key
iwconfig "$ifname" enc "[${key:-1}]"
iwconfig "$ifname" enc "${key:-1}"
;;
esac