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:39 +0200 |
commit | d33f7905dfb39458ff2127237be22a54e806bdc9 (patch) | |
tree | ccbf9c3f1bb3aa3a29aeaf0bc43f425352c8950a /package/kernel/mac80211/files | |
parent | 4f162ac3ce3c37fa15561cc3de6a044ff3ace2bc (diff) | |
download | upstream-d33f7905dfb39458ff2127237be22a54e806bdc9.tar.gz upstream-d33f7905dfb39458ff2127237be22a54e806bdc9.tar.bz2 upstream-d33f7905dfb39458ff2127237be22a54e806bdc9.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)" |