diff options
author | Lorenzo Santina <lorenzo.santina@edu.unito.it> | 2017-09-11 15:27:53 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-09-13 08:07:54 +0200 |
commit | fd84ecda7d3bfebb4237110b8efe2ab2713ea8e1 (patch) | |
tree | 5d2ed86484e32e8cdc6100e5615be7007cb5cee0 /package/kernel/mac80211/files | |
parent | fb128057da92bdb6b2c4cd9ad9dd87637a4089b3 (diff) | |
download | upstream-fd84ecda7d3bfebb4237110b8efe2ab2713ea8e1.tar.gz upstream-fd84ecda7d3bfebb4237110b8efe2ab2713ea8e1.tar.bz2 upstream-fd84ecda7d3bfebb4237110b8efe2ab2713ea8e1.zip |
treewide: fix shellscript syntax errors/typos
Fix multiple syntax errors in shelscripts (of packages only)
These errors were causing many conditions to not working properly
Signed-off-by: Lorenzo Santina <lorenzo.santina@edu.unito.it>
[increase PKG_RELEASE, drop command substitution from directip.sh]
Signed-off-by: Mathias Kresin <dev@kresin.em>
Diffstat (limited to 'package/kernel/mac80211/files')
-rw-r--r-- | package/kernel/mac80211/files/lib/wifi/mac80211.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh b/package/kernel/mac80211/files/lib/wifi/mac80211.sh index 4bfc7424b2..940fb52ac2 100644 --- a/package/kernel/mac80211/files/lib/wifi/mac80211.sh +++ b/package/kernel/mac80211/files/lib/wifi/mac80211.sh @@ -92,7 +92,7 @@ detect_mac80211() { htmode="VHT80" } - [ -n $htmode ] && ht_capab="set wireless.radio${devidx}.htmode=$htmode" + [ -n "$htmode" ] && ht_capab="set wireless.radio${devidx}.htmode=$htmode" if [ -x /usr/bin/readlink -a -h /sys/class/ieee80211/${dev} ]; then path="$(readlink -f /sys/class/ieee80211/${dev}/device)" |