aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ap_drv_ops.c
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2019-05-20 07:55:09 (GMT)
committerJouni Malinen <j@w1.fi>2019-05-27 14:41:23 (GMT)
commit1d2c45ecfc6b732ee90043e1821e56524983eec9 (patch)
tree3bda4b911f2a9b367748427a1218f9cd433d4db7 /src/ap/ap_drv_ops.c
parent8b18d2b24e1bedbbe137f8cbb6b88e3d6e9f82d4 (diff)
downloadhostap-1d2c45ecfc6b732ee90043e1821e56524983eec9.zip
hostap-1d2c45ecfc6b732ee90043e1821e56524983eec9.tar.gz
hostap-1d2c45ecfc6b732ee90043e1821e56524983eec9.tar.bz2
HE: Enable ACS similarly to VHT
Signed-off-by: Shashidhar Lakkavalli <slakkavalli@datto.com> Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'src/ap/ap_drv_ops.c')
-rw-r--r--src/ap/ap_drv_ops.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ap/ap_drv_ops.c b/src/ap/ap_drv_ops.c
index 9249762..dced337 100644
--- a/src/ap/ap_drv_ops.c
+++ b/src/ap/ap_drv_ops.c
@@ -939,7 +939,9 @@ int hostapd_drv_do_acs(struct hostapd_data *hapd)
/* Note: VHT20 is defined by combination of ht_capab & oper_chwidth
*/
- if (hapd->iface->conf->ieee80211ac && params.ht40_enabled) {
+ if ((hapd->iface->conf->ieee80211ax ||
+ hapd->iface->conf->ieee80211ac) &&
+ params.ht40_enabled) {
u8 oper_chwidth = hostapd_get_oper_chwidth(hapd->iface->conf);
if (oper_chwidth == CHANWIDTH_80MHZ)