aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
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
parent4bd862a3005bbc20573ddd0172d2d0bcd46ae4df (diff)
downloadupstream-a9aee857debf75c37aaa28804709c6706c4605e8.tar.gz
upstream-a9aee857debf75c37aaa28804709c6706c4605e8.tar.bz2
upstream-a9aee857debf75c37aaa28804709c6706c4605e8.zip
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')
-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 29100887e3..ec8c9f1471 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