diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-03 18:50:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-03 18:50:06 +0000 |
commit | fcc9d6fb0ca092d33cf893e37a4b5a35dba37baa (patch) | |
tree | 8413abec0cdd2ae1e8c1a7e2b218a5731da13627 /package | |
parent | 15f447a3f5d0147b5aa72abdda8a4e6948f7f804 (diff) | |
download | master-187ad058-fcc9d6fb0ca092d33cf893e37a4b5a35dba37baa.tar.gz master-187ad058-fcc9d6fb0ca092d33cf893e37a4b5a35dba37baa.tar.bz2 master-187ad058-fcc9d6fb0ca092d33cf893e37a4b5a35dba37baa.zip |
mac80211: force upper channel for HT40 when autochannel is enabled
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40685 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 1 |
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 |