wlan: use correct regulatory APIs
use regulatory_hint_user() API when
the hint comes from the country IE or
userspace
CRs-Fixed: 564372
Change-Id: I4dd7f77ca572e4ce66377ca9c0b038328a419289
diff --git a/CORE/SME/src/csr/csrInsideApi.h b/CORE/SME/src/csr/csrInsideApi.h
index 8bc1cb7..73d7943 100644
--- a/CORE/SME/src/csr/csrInsideApi.h
+++ b/CORE/SME/src/csr/csrInsideApi.h
@@ -578,9 +578,13 @@
CSR.
\param pCountry - Caller allocated buffer with at least 3 bytes specifying the country code
\param pDomainId - Caller allocated buffer to get the return domain ID upon success return. Can be NULL.
+ \param source - the source of country information.
\return eHalStatus
-------------------------------------------------------------------------------*/
-eHalStatus csrGetRegulatoryDomainForCountry(tpAniSirGlobal pMac, tANI_U8 *pCountry, v_REGDOMAIN_t *pDomainId);
+eHalStatus csrGetRegulatoryDomainForCountry(tpAniSirGlobal pMac,
+ tANI_U8 *pCountry,
+ v_REGDOMAIN_t *pDomainId,
+ v_CountryInfoSource_t source);
tANI_BOOLEAN csrSave11dCountryString( tpAniSirGlobal pMac, tANI_U8 *pCountryCode, tANI_BOOLEAN fForce );