瀏覽代碼

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 年之前
父節點
當前提交
4d3b586537
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fw_offload/dispatcher/src/wlan_fwol_ucfg_api.c

+ 1 - 1
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;