wlan: Update countryCode11d with countryCodeSelected.

Whenever driver choose the country code on basis of majority
it store this country code in countryCodeElected.
When driver is trying to acquire the country code to AP
to which it is about to connect , it's not updating
country code.
At the time of changing country code Driver compare
country code acquired and countryCode11d.
At this state countryCode11d is prev elected country.
As driver is not updating countryCode11d with AP's Country
code in csrLearnCountryInformation, there is mismatch in
sme_HandleChangeCountryCodeByUser so driver will update old
country only.
Fix is to update countryCode11d variable when driver
acquires country to which it is about to connect.

CRs-fixed: 696609
Change-Id: I0c69052d993901f382e18332c0ef3be819181397
diff --git a/CORE/SME/src/csr/csrApiScan.c b/CORE/SME/src/csr/csrApiScan.c
index 7373696..e319bcd 100644
--- a/CORE/SME/src/csr/csrApiScan.c
+++ b/CORE/SME/src/csr/csrApiScan.c
@@ -4120,6 +4120,13 @@
             fRet = eANI_BOOLEAN_FALSE;
             break;
         }
+
+        /* updating 11d Country Code with Country code selected. */
+
+        vos_mem_copy(pMac->scan.countryCode11d,
+                             pCountryCodeSelected,
+                             WNI_CFG_COUNTRY_CODE_LEN);
+
 #ifndef CONFIG_ENABLE_LINUX_REG
         // Checking for Domain Id change
         if ( domainId != pMac->scan.domainIdCurrent )