diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c index a2c8c055a14b..921b6cf8e2f5 100644 --- a/core/sme/src/csr/csr_api_roam.c +++ b/core/sme/src/csr/csr_api_roam.c @@ -9341,6 +9341,8 @@ csr_roam_save_connected_information(struct mac_context *mac, p_ext_cap->proxy_arp_service; } + qdf_mem_zero(pConnectProfile->country_code, + WNI_CFG_COUNTRY_CODE_LEN); if (pIesTemp->Country.present) { qdf_mem_copy(pConnectProfile->country_code, pIesTemp->Country.country,