mac80211: fix passing of VHT80 in IBSS mode
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 9 Dec 2015 15:19:41 +0000 (15:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 9 Dec 2015 15:19:41 +0000 (15:19 +0000)
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

package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh

index 71b96aa425e942b79831358ee3313f99a3063eb3..29dd4de40050a38221a9edb9ce8c97b57063e03e 100644 (file)
@@ -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"