summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanumanth Reddy Pothula <c_hpothu@codeaurora.org>2016-11-02 19:54:06 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-11-07 11:26:05 -0800
commit5f49486caeea28f62674c50a83073968fd926d9c (patch)
treeff529220157b18167d3ebc551244bf5613d2ecbc
parent11f1b7104fc62fedd54be13ff8239df037272b6a (diff)
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
-rw-r--r--core/sme/src/csr/csr_api_scan.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/sme/src/csr/csr_api_scan.c b/core/sme/src/csr/csr_api_scan.c
index 9d15c3ed54a6..428f66100773 100644
--- a/core/sme/src/csr/csr_api_scan.c
+++ b/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],