mac80211: fix passing of VHT80 in IBSS mode
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 9 Dec 2015 15:19:41 +0000 (15:19 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47814 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 71b96aa..29dd4de 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"