mac80211: fix disabling HT in IBSS mode (#21340)
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 9 Dec 2015 15:18:43 +0000 (15:18 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 9 Dec 2015 15:18:43 +0000 (15:18 +0000)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47813

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

index e177978c7f611f68037c15cee9acbd68e63ec0be..71b96aa425e942b79831358ee3313f99a3063eb3 100644 (file)
@@ -526,6 +526,9 @@ mac80211_setup_adhoc_htmode() {
                VHT80)
                        ibss_htmode="80Mhz"
                ;;
+               NONE|NOHT)
+                       ibss_htmode="NOHT"
+               ;;
                *) ibss_htmode="" ;;
        esac