From: Felix Fietkau Date: Sat, 3 May 2014 18:50:06 +0000 (+0000) Subject: mac80211: force upper channel for HT40 when autochannel is enabled X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=63b8638c6dbd9135f4395e08165a4cbaf5dfcbbc;p=openwrt%2Fsvn-archive%2Farchive.git mac80211: force upper channel for HT40 when autochannel is enabled Signed-off-by: Felix Fietkau SVN-Revision: 40685 --- 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