aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-12-09 15:18:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-12-09 15:18:43 +0000
commit713f698bd438591ecf487520e1d752183ca2ec46 (patch)
tree142aa62106ac297b86502b63490a53d7b7809ed3 /package/kernel
parent1369876a92bf8790f6c490d2eebe7b2744d560b5 (diff)
downloadupstream-713f698bd438591ecf487520e1d752183ca2ec46.tar.gz
upstream-713f698bd438591ecf487520e1d752183ca2ec46.tar.bz2
upstream-713f698bd438591ecf487520e1d752183ca2ec46.zip
mac80211: fix disabling HT in IBSS mode (#21340)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47813
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index e177978c7f..71b96aa425 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -526,6 +526,9 @@ mac80211_setup_adhoc_htmode() {
VHT80)
ibss_htmode="80Mhz"
;;
+ NONE|NOHT)
+ ibss_htmode="NOHT"
+ ;;
*) ibss_htmode="" ;;
esac