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=a9aee857debf75c37aaa28804709c6706c4605e8;p=openwrt%2Fstaging%2Fstintel.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