From a9aee857debf75c37aaa28804709c6706c4605e8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 3 May 2014 18:50:06 +0000 Subject: [PATCH] mac80211: force upper channel for HT40 when autochannel is enabled Signed-off-by: Felix Fietkau SVN-Revision: 40685 --- package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2