소스 검색

qcacld-3.0: Fix 11k neighbor report parameters copy from fwol component

11k offload params bitmask is sent over the wmi command
WMI_11K_OFFLOAD_REPORT_CMDID. Its value is controlled by the ini
value "nr_offload_params_bitmask". The ini value got from the cfg
component during initialization is not correctly populated to the
sme layer resulting in zero values sent to firmware. This results
in 11k functionality failure.

Populate the 11k values to sme with values stored into fwol
component from ucfg_fwol_get_neighbor_report_cfg.

Change-Id: I8615745083cdab677bca8cbb76eb0902758a8a75
CRs-Fixed: 2397328
Pragaspathi Thilagaraj 6 년 전
부모
커밋
a07b727e75
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      components/fw_offload/dispatcher/src/wlan_fwol_ucfg_api.c

+ 1 - 1
components/fw_offload/dispatcher/src/wlan_fwol_ucfg_api.c

@@ -199,7 +199,7 @@ ucfg_fwol_get_neighbor_report_cfg(struct wlan_objmgr_psoc *psoc,
 		fwol_init_neighbor_report_cfg(psoc, fwol_neighbor_report_cfg);
 		status =  QDF_STATUS_E_FAILURE;
 	} else {
-		fwol_neighbor_report_cfg = &fwol_obj->cfg.neighbor_report_cfg;
+		*fwol_neighbor_report_cfg = fwol_obj->cfg.neighbor_report_cfg;
 	}
 
 	return status;