aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ap_drv_ops.c
diff options
context:
space:
mode:
authorAshwini Patil <c_apati@qti.qualcomm.com>2017-06-16 12:17:03 (GMT)
committerJouni Malinen <j@w1.fi>2017-07-14 18:27:00 (GMT)
commit65833d71a5f3b8240db397efa7200e894a3eab1f (patch)
tree5d5409c4bc0a2b7098743c11addb93ed26047108 /src/ap/ap_drv_ops.c
parent332aadb8a226947c4eb34067223c26753a676477 (diff)
downloadhostap-65833d71a5f3b8240db397efa7200e894a3eab1f.zip
hostap-65833d71a5f3b8240db397efa7200e894a3eab1f.tar.gz
hostap-65833d71a5f3b8240db397efa7200e894a3eab1f.tar.bz2
OCE: Add hostapd mode OCE capability indication if enabled
Add OCE IE in Beacon, Probe Response, and (Re)Association Response frames if OCE is enabled in the configuration. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/ap/ap_drv_ops.c')
-rw-r--r--src/ap/ap_drv_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/ap_drv_ops.c b/src/ap/ap_drv_ops.c
index b3d4f03..8f4d839 100644
--- a/src/ap/ap_drv_ops.c
+++ b/src/ap/ap_drv_ops.c
@@ -176,7 +176,7 @@ int hostapd_build_ap_extra_ies(struct hostapd_data *hapd,
#endif /* CONFIG_HS20 */
#ifdef CONFIG_MBO
- if (hapd->conf->mbo_enabled) {
+ if (hapd->conf->mbo_enabled || hapd->enable_oce) {
pos = hostapd_eid_mbo(hapd, buf, sizeof(buf));
if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
add_buf_data(&proberesp, buf, pos - buf) < 0 ||