qcacld-3.0: Set current bss color in lim

The current bss color value is 0 in color
detection config which is not valid. Set
it accordingly in lim to share the correct
bss color config to FW.

Change-Id: I4387c7eb661846d70b62cde41b64b9c174e2f48c
CRs-Fixed: 2689632
Tento commit je obsažen v:
Gururaj Pandurangi
2020-05-26 11:15:50 -07:00
odevzdal nshrivas
rodič c82b2c0c6a
revize 7f2e4159da

Zobrazit soubor

@@ -5859,6 +5859,7 @@ void lim_send_obss_color_collision_cfg(struct mac_context *mac_ctx,
qdf_mem_zero(cfg_param, sizeof(*cfg_param));
cfg_param->vdev_id = session->smeSessionId;
cfg_param->evt_type = event_type;
cfg_param->current_bss_color = session->he_op.bss_color;
if (LIM_IS_AP_ROLE(session))
cfg_param->detection_period_ms =
OBSS_COLOR_COLLISION_DETECTION_AP_PERIOD_MS;