aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-12-09 15:19:41 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-12-09 15:19:41 +0000
commit3041fbb4d2afe7b2d0598378b25aac3a7444eb4b (patch)
tree962baa30f97563b858da99e04156bdc9ea9e65ec
parent713f698bd438591ecf487520e1d752183ca2ec46 (diff)
downloadupstream-3041fbb4d2afe7b2d0598378b25aac3a7444eb4b.tar.gz
upstream-3041fbb4d2afe7b2d0598378b25aac3a7444eb4b.tar.bz2
upstream-3041fbb4d2afe7b2d0598378b25aac3a7444eb4b.zip
mac80211: fix passing of VHT80 in IBSS mode
The "iw" utility expects the VHT80 to be specified as uppercase "80MHZ", change the script to reflect that. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47814
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 71b96aa425..29dd4de400 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -524,7 +524,7 @@ mac80211_setup_adhoc_htmode() {
[ "$auto_channel" -gt 0 ] && ibss_htmode="HT40+"
;;
VHT80)
- ibss_htmode="80Mhz"
+ ibss_htmode="80MHZ"
;;
NONE|NOHT)
ibss_htmode="NOHT"