diff --git a/core/mac/src/pe/lim/lim_process_mlm_req_messages.c b/core/mac/src/pe/lim/lim_process_mlm_req_messages.c index 0649ac4f6d..2d9fdafadb 100644 --- a/core/mac/src/pe/lim/lim_process_mlm_req_messages.c +++ b/core/mac/src/pe/lim/lim_process_mlm_req_messages.c @@ -1,6 +1,6 @@ /* * Copyright (c) 2011-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2021-2022 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 @@ -68,6 +68,7 @@ static void lim_fill_status_code(uint8_t frame_type, *proto_status_code = STATUS_AUTH_TX_FAIL; break; case LIM_ACK_RCD_FAILURE: + case LIM_ACK_NOT_RCD: *proto_status_code = STATUS_AUTH_NO_ACK_RECEIVED; break; case LIM_ACK_RCD_SUCCESS: @@ -82,6 +83,7 @@ static void lim_fill_status_code(uint8_t frame_type, *proto_status_code = STATUS_ASSOC_TX_FAIL; break; case LIM_ACK_RCD_FAILURE: + case LIM_ACK_NOT_RCD: *proto_status_code = STATUS_ASSOC_NO_ACK_RECEIVED; break; case LIM_ACK_RCD_SUCCESS: 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 60496afae1..e3ff4db114 100644 --- a/core/mac/src/pe/lim/lim_send_management_frames.c +++ b/core/mac/src/pe/lim/lim_send_management_frames.c @@ -5993,7 +5993,6 @@ static void lim_tx_mgmt_frame(struct mac_context *mac_ctx, uint8_t vdev_id, qdf_mtrace(QDF_MODULE_ID_PE, QDF_MODULE_ID_WMA, TRACE_CODE_TX_MGMT, session->peSessionId, 0); - mac_ctx->auth_ack_status = LIM_ACK_NOT_RCD; min_rid = lim_get_min_session_txrate(session); if (fc->subType == SIR_MAC_MGMT_AUTH && @@ -6148,6 +6147,6 @@ void lim_send_mgmt_frame_tx(struct mac_context *mac_ctx, lim_handle_sae_auth_retry(mac_ctx, vdev_id, mb_msg->data, msg_len); } - + mac_ctx->auth_ack_status = LIM_ACK_NOT_RCD; lim_send_frame(mac_ctx, vdev_id, mb_msg->data, msg_len); }