mac80211: force upper channel for HT40 when autochannel is enabled

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40685
This commit is contained in:
Felix Fietkau 2014-05-03 18:50:06 +00:00
parent 4bd862a300
commit a9aee857de

View file

@ -112,6 +112,7 @@ mac80211_hostapd_setup_base() {
esac esac
;; ;;
esac esac
[ "$auto_channel" -gt 0 ] && ht_capab="[HT40+]"
;; ;;
*) ieee80211n= ;; *) ieee80211n= ;;
esac esac