diff --git a/core/mac/src/pe/lim/lim_process_assoc_req_frame.c b/core/mac/src/pe/lim/lim_process_assoc_req_frame.c index 6443004461..72258c6518 100644 --- a/core/mac/src/pe/lim/lim_process_assoc_req_frame.c +++ b/core/mac/src/pe/lim/lim_process_assoc_req_frame.c @@ -1,6 +1,6 @@ /* * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -2668,14 +2668,6 @@ void lim_process_assoc_req_frame(struct mac_context *mac_ctx, sub_type, GET_LIM_SYSTEM_ROLE(session), QDF_MAC_ADDR_REF(hdr->sa)); return; - } else if (sta_ds->mlmStaContext.akm_type == ANI_AKM_TYPE_FT_RSN_PSK) { - pe_debug("FT Assoc Req, delete STA hash entry"); - lim_release_peer_idx(mac_ctx, sta_ds->assocId, session); - if (dph_delete_hash_entry(mac_ctx, hdr->sa, - sta_ds->assocId, - &session->dph.dphHashTable) - != QDF_STATUS_SUCCESS) - pe_err("error deleting hash entry"); } else if (!sta_ds->rmfEnabled && (sub_type == LIM_REASSOC)) { /* * SAP should send reassoc response with reject code