diff --git a/core/mac/src/pe/lim/lim_send_management_frames.c b/core/mac/src/pe/lim/lim_send_management_frames.c index 71197c3eee79..d4723fcbca4e 100644 --- a/core/mac/src/pe/lim/lim_send_management_frames.c +++ b/core/mac/src/pe/lim/lim_send_management_frames.c @@ -347,7 +347,7 @@ lim_send_probe_req_mgmt_frame(tpAniSirGlobal mac_ctx, pe_debug("Populate HE IEs"); populate_dot11f_he_caps(mac_ctx, pesession, &pr.he_cap); - if (addn_ielen) { + if (addn_ielen && additional_ie) { qdf_mem_zero((uint8_t *)&extracted_ext_cap, sizeof(tDot11fIEExtCap)); sir_status = lim_strip_extcap_update_struct(mac_ctx,