Explorar o código

qcacld-3.0: Update RRM capability for SAP

lim_update_rrm_capability is only called in lim_fill_pe_session,
which is for station mode.
If only SAP interface exists, mac_ctx->rrm.rrmPEContext.rrmEnable
will not be set.

Call lim_update_rrm_capability for SAP mode.

Change-Id: Icc5e3a960a372b26943987c377ec292c5cf2eb8c
CRs-Fixed: 3380748
Bing Sun %!s(int64=2) %!d(string=hai) anos
pai
achega
da40c120fc
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      core/mac/src/pe/lim/lim_process_sme_req_messages.c

+ 2 - 0
core/mac/src/pe/lim/lim_process_sme_req_messages.c

@@ -1227,6 +1227,8 @@ __lim_handle_sme_start_bss_request(struct mac_context *mac_ctx, uint32_t *msg_bu
 		if (QDF_IS_STATUS_ERROR(qdf_status))
 			goto free;
 		qdf_mem_free(mlm_start_req);
+		lim_update_rrm_capability(mac_ctx);
+
 		return;
 	} else {