Преглед изворни кода

qcacld-3.0: Fix rrm capability update from config ini file

Get rrm capab from mac_ctx in function sme_get_config_param().

This ensures that subsequent calls to this function will correctly
update rrm config.

Change-Id: Iddaae66b94ccaa127f08fd0a897bc986a959a0eb
CRs-Fixed: 955114
Naveen Rawat пре 9 година
родитељ
комит
f2a13f96c8
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      core/sme/src/common/sme_api.c

+ 3 - 0
core/sme/src/common/sme_api.c

@@ -4339,6 +4339,9 @@ CDF_STATUS sme_get_config_param(tHalHandle hHal, tSmeConfigParams *pParam)
 			pMac->roam.configParam.early_stop_scan_min_threshold;
 		pParam->early_stop_scan_max_threshold =
 			pMac->roam.configParam.early_stop_scan_max_threshold;
+		cdf_mem_copy(&pParam->rrmConfig,
+			     &pMac->rrm.rrmSmeContext.rrmConfig,
+			     sizeof(pMac->rrm.rrmSmeContext.rrmConfig));
 		sme_release_global_lock(&pMac->sme);
 	}