From af947d5c89d663da6314dcb8d95691622c157536 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 5 Dec 2009 15:11:47 +0000 Subject: [PATCH] mac80211: fix a shell syntax error SVN-Revision: 18664 --- package/mac80211/files/lib/wifi/mac80211.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index ef275729c6..f5c94a9eac 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -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} " -- 2.25.1