mac80211: fix a shell syntax error

SVN-Revision: 18664
This commit is contained in:
Jo-Philipp Wich 2009-12-05 15:11:47 +00:00
parent 37758a2672
commit af947d5c89

View file

@ -179,7 +179,7 @@ enable_mac80211() {
if [ -n "$keymgmt" ]; then
for idx in 1 2 3 4; do
local zidx
zidx = $((idx - 1))
zidx=$(($idx - 1))
config_get key "$vif" "key${idx}"
if [ -n "$key" ]; then
append keystring "${zidx}:${key} "