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 df91ec5af480..cde084c4e6ce 100644 --- a/core/mac/src/pe/lim/lim_send_management_frames.c +++ b/core/mac/src/pe/lim/lim_send_management_frames.c @@ -1519,12 +1519,13 @@ lim_send_assoc_rsp_mgmt_frame( populate_dot11f_vht_operation(mac_ctx, pe_session, &frm.vendor_vht_ie.VHTOperation); is_vht = true; - populate_dot11f_qcn_ie(mac_ctx, pe_session, &frm.qcn_ie, - QCN_IE_ATTR_ID_ALL); } populate_dot11f_ext_cap(mac_ctx, is_vht, &frm.ExtCap, pe_session); + populate_dot11f_qcn_ie(mac_ctx, pe_session, &frm.qcn_ie, + QCN_IE_ATTR_ID_ALL); + if (lim_is_sta_he_capable(sta) && lim_is_session_he_capable(pe_session)) { pe_debug("Populate HE IEs");