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 | 92c4f4c6fb5ec3f1e511975c83081ede02695275 (patch) | |
tree | 54ca3b23f7c92bfefff240e7af8c6f335444647b /package/mac80211/files/lib/wifi | |
parent | 0699d7b3fd0149d871efa0660561ee110761a8ec (diff) | |
download | master-187ad058-92c4f4c6fb5ec3f1e511975c83081ede02695275.tar.gz master-187ad058-92c4f4c6fb5ec3f1e511975c83081ede02695275.tar.bz2 master-187ad058-92c4f4c6fb5ec3f1e511975c83081ede02695275.zip |
[package] mac80211: fix a shell syntax error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18664 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/files/lib/wifi')
-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 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} " |