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 5273bb2d73..992c134d44 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 @@ -952,7 +952,9 @@ static void lim_process_mlm_assoc_req(struct mac_context *mac_ctx, uint32_t *msg MTRACE(mac_trace(mac_ctx, TRACE_CODE_MLM_STATE, session_entry->peSessionId, session_entry->limMlmState)); - pe_debug("vdev %d Sending Assoc_Req Frame", session_entry->vdev_id); + pe_debug("vdev %d Sending Assoc_Req Frame, timeout %d msec", + session_entry->vdev_id, + (int)mac_ctx->lim.lim_timers.gLimAssocFailureTimer.initScheduleTimeInMsecs); /* Prepare and send Association request frame */ lim_send_assoc_req_mgmt_frame(mac_ctx, mlm_assoc_req, session_entry); diff --git a/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c b/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c index 28c39b350c..ec08af9c9c 100644 --- a/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c +++ b/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c @@ -506,6 +506,8 @@ void lim_process_mlm_auth_cnf(struct mac_context *mac_ctx, uint32_t *msg) if (auth_cnf->resultCode == eSIR_SME_SUCCESS) { if (session_entry->limSmeState == eLIM_SME_WT_AUTH_STATE) { + lim_deactivate_and_change_timer(mac_ctx, + eLIM_ASSOC_FAIL_TIMER); lim_send_mlm_assoc_req(mac_ctx, session_entry); } else { /* 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 090d68a96e..43c40579ad 100644 --- a/core/mac/src/pe/lim/lim_send_management_frames.c +++ b/core/mac/src/pe/lim/lim_send_management_frames.c @@ -3151,10 +3151,10 @@ alloc_packet: } } - pe_nofl_info("Auth TX: seq %d seq num %d status %d WEP %d to " QDF_MAC_ADDR_FMT, - auth_frame->authTransactionSeqNumber, mac_ctx->mgmtSeqNum, - auth_frame->authStatusCode, mac_hdr->fc.wep, - QDF_MAC_ADDR_REF(mac_hdr->da)); + pe_nofl_info("Auth TX: vdev %d seq %d seq num %d status %d WEP %d to " QDF_MAC_ADDR_FMT, + vdev_id, auth_frame->authTransactionSeqNumber, + mac_ctx->mgmtSeqNum, auth_frame->authStatusCode, + mac_hdr->fc.wep, QDF_MAC_ADDR_REF(mac_hdr->da)); QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_PE, QDF_TRACE_LEVEL_DEBUG, frame, frame_len);