aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ap_drv_ops.c
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2019-05-20 07:55:06 (GMT)
committerJouni Malinen <j@w1.fi>2019-05-27 13:27:49 (GMT)
commit464dcfd0304caa92f61a612a2a39e3b38dd34f34 (patch)
tree0d884cf948cf5b36ebc465ef920cce1fb28a7066 /src/ap/ap_drv_ops.c
parent846e8396aba815a30e68ed6707c7dbbecf8730da (diff)
downloadhostap-464dcfd0304caa92f61a612a2a39e3b38dd34f34.zip
hostap-464dcfd0304caa92f61a612a2a39e3b38dd34f34.tar.gz
hostap-464dcfd0304caa92f61a612a2a39e3b38dd34f34.tar.bz2
HE: Remove VHT_ prefix from CHANWITDH_* define
The bandwidth values are shared between VHT and HE mode so remove the VHT specific prefix. 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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ap/ap_drv_ops.c b/src/ap/ap_drv_ops.c
index 61390f9..f353756 100644
--- a/src/ap/ap_drv_ops.c
+++ b/src/ap/ap_drv_ops.c
@@ -932,12 +932,12 @@ int hostapd_drv_do_acs(struct hostapd_data *hapd)
/* Note: VHT20 is defined by combination of ht_capab & vht_oper_chwidth
*/
if (hapd->iface->conf->ieee80211ac && params.ht40_enabled) {
- if (hapd->iface->conf->vht_oper_chwidth == VHT_CHANWIDTH_80MHZ)
+ if (hapd->iface->conf->vht_oper_chwidth == CHANWIDTH_80MHZ)
params.ch_width = 80;
else if (hapd->iface->conf->vht_oper_chwidth ==
- VHT_CHANWIDTH_160MHZ ||
+ CHANWIDTH_160MHZ ||
hapd->iface->conf->vht_oper_chwidth ==
- VHT_CHANWIDTH_80P80MHZ)
+ CHANWIDTH_80P80MHZ)
params.ch_width = 160;
}