CC: mac80211: fix disabling HT in IBSS mode (#21340)
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 9 Dec 2015 15:36:22 +0000 (15:36 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 9 Dec 2015 15:36:22 +0000 (15:36 +0000)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r47813

SVN-Revision: 47815

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

index c9bc3d610de770674f32d36658ec7976dcebed96..2852f3e08ceea613426f6e033b15666d1e19bd50 100644 (file)
@@ -525,6 +525,9 @@ mac80211_setup_adhoc_htmode() {
                        esac
                        [ "$auto_channel" -gt 0 ] && ibss_htmode="HT40+"
                ;;
+               NONE|NOHT)
+                       ibss_htmode="NOHT"
+               ;;
                *) ibss_htmode="" ;;
        esac