[package] mac80211: fix a shell syntax error
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 Dec 2009 15:11:47 +0000 (15:11 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 Dec 2009 15:11:47 +0000 (15:11 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18664 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/files/lib/wifi/mac80211.sh

index ef27572..f5c94a9 100644 (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} "
This page took 0.022962 seconds and 4 git commands to generate.