summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-03 18:50:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-05-03 18:50:06 +0000
commita9aee857debf75c37aaa28804709c6706c4605e8 (patch)
tree673c507459f7e2130c6125c4d118eb90e9f24eab /package/kernel/mac80211/files
parent4bd862a3005bbc20573ddd0172d2d0bcd46ae4df (diff)
downloadmtk-20170518-a9aee857debf75c37aaa28804709c6706c4605e8.zip
mtk-20170518-a9aee857debf75c37aaa28804709c6706c4605e8.tar.gz
mtk-20170518-a9aee857debf75c37aaa28804709c6706c4605e8.tar.bz2
mac80211: force upper channel for HT40 when autochannel is enabled
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40685
Diffstat (limited to 'package/kernel/mac80211/files')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh1
1 files changed, 1 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 2910088..ec8c9f1 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -112,6 +112,7 @@ mac80211_hostapd_setup_base() {
esac
;;
esac
+ [ "$auto_channel" -gt 0 ] && ht_capab="[HT40+]"
;;
*) ieee80211n= ;;
esac