From dba58f5d45cfcb3c96532e2526865485dfc9c8a5 Mon Sep 17 00:00:00 2001 From: Hanumanth Reddy Pothula Date: Wed, 2 Nov 2016 19:54:06 +0530 Subject: [PATCH] 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 --- core/sme/src/csr/csr_api_scan.c | 3 --- 1 file changed, 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],