瀏覽代碼

qcacld-3.0: Update current 11d country code appropriately

Presently, current 11d country-code is updated during voting
mechanism with elected country code, leading Host to fail to
call regulatory hint, because Host invokes regulatory hint only
if elected country-code and current 11d country-code are different,
which will be updated while processing regulatory notifier.

Don't update current 11d country code before invoking regulatory
hint.

Change-Id: Ib66259ae9b743e1d202041ecfb4e91525eeb7052
CRs-Fixed: 1085025
Hanumanth Reddy Pothula 8 年之前
父節點
當前提交
dba58f5d45
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      core/sme/src/csr/csr_api_scan.c

+ 0 - 3
core/sme/src/csr/csr_api_scan.c

@@ -3434,9 +3434,6 @@ bool csr_elected_country_info(tpAniSirGlobal pMac)
 		qdf_mem_copy(pMac->scan.countryCodeElected,
 		       pMac->scan.votes11d[j].countryCode,
 		       WNI_CFG_COUNTRY_CODE_LEN);
-		qdf_mem_copy(pMac->scan.countryCode11d,
-		       pMac->scan.votes11d[j].countryCode,
-		       WNI_CFG_COUNTRY_CODE_LEN);
 		QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_INFO,
 			  "Selected Country is %c%c With count %d\n",
 			  pMac->scan.votes11d[j].countryCode[0],