From: Jo-Philipp Wich Date: Wed, 9 Dec 2015 15:36:22 +0000 (+0000) Subject: CC: mac80211: fix disabling HT in IBSS mode (#21340) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=95552de21ff42b0c95255e263d53a08d520a90db;p=openwrt%2Fsvn-archive%2Fopenwrt.git CC: mac80211: fix disabling HT in IBSS mode (#21340) Signed-off-by: Jo-Philipp Wich Backport of r47813 SVN-Revision: 47815 --- diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh index c9bc3d610d..2852f3e08c 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -525,6 +525,9 @@ mac80211_setup_adhoc_htmode() { esac [ "$auto_channel" -gt 0 ] && ibss_htmode="HT40+" ;; + NONE|NOHT) + ibss_htmode="NOHT" + ;; *) ibss_htmode="" ;; esac