diff --git a/wmi_unified_tlv.c b/wmi_unified_tlv.c index 91216b2687..54c10f45f5 100644 --- a/wmi_unified_tlv.c +++ b/wmi_unified_tlv.c @@ -17854,6 +17854,7 @@ static QDF_STATUS extract_reg_11d_new_country_event_tlv( qdf_mem_copy(reg_11d_country->alpha2, ®_11d_country_event->new_alpha2, REG_ALPHA2_LEN); + reg_11d_country->alpha2[REG_ALPHA2_LEN] = '\0'; WMI_LOGD("processed 11d country event, new cc %s", reg_11d_country->alpha2);