diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-12-05 15:11:47 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-12-05 15:11:47 +0000 |
commit | af947d5c89d663da6314dcb8d95691622c157536 (patch) | |
tree | 9cda534957505bfbd9eace4632b20b8a30729983 /package/mac80211/files | |
parent | 37758a2672fc8e4322f2bbc067dcb54d4d61d8ce (diff) | |
download | mtk-20170518-af947d5c89d663da6314dcb8d95691622c157536.zip mtk-20170518-af947d5c89d663da6314dcb8d95691622c157536.tar.gz mtk-20170518-af947d5c89d663da6314dcb8d95691622c157536.tar.bz2 |
mac80211: fix a shell syntax error
SVN-Revision: 18664
Diffstat (limited to 'package/mac80211/files')
-rw-r--r-- | package/mac80211/files/lib/wifi/mac80211.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index ef27572..f5c94a9 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} " |