summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CORE/SME/src/sme_common/sme_Api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/SME/src/sme_common/sme_Api.c b/CORE/SME/src/sme_common/sme_Api.c
index f918b47a8ed9..6b1b6f6d1ba9 100644
--- a/CORE/SME/src/sme_common/sme_Api.c
+++ b/CORE/SME/src/sme_common/sme_Api.c
@@ -5412,7 +5412,7 @@ eHalStatus sme_GenericChangeCountryCode( tHalHandle hHal,
pMsg->msgType = pal_cpu_to_be16((tANI_U16)eWNI_SME_GENERIC_CHANGE_COUNTRY_CODE);
pMsg->msgLen = (tANI_U16)sizeof(tAniGenericChangeCountryCodeReq);
- vos_mem_copy(pMsg->countryCode, pCountry, 3);
+ vos_mem_copy(pMsg->countryCode, pCountry, 2);
pMsg->domain_index = reg_domain;
msg.type = eWNI_SME_GENERIC_CHANGE_COUNTRY_CODE;