소스 검색

qcacld-3.0: Send correct reason code for auth timeout

In SAE retry timeout case internal status codes are populated
over frame for auth TX failure. Internal status code is sent,
instead of correct reason code.
Send reason code as REASON_TIMEDOUT for auth timeout case.

Change-Id: I0daec5b6db47bb7a50994f088cda6673d0e407f1
CRs-Fixed: 3215534
Aravind Kishore Sukla 3 년 전
부모
커밋
7ff8ef2746
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c

+ 1 - 1
core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c

@@ -594,7 +594,7 @@ void lim_process_mlm_auth_cnf(struct mac_context *mac_ctx, uint32_t *msg)
 			    auth_cnf->resultCode != eSIR_SME_DEAUTH_WHILE_JOIN) {
 				pe_debug("Send deauth for SAE auth failure");
 				lim_send_deauth_mgmt_frame(mac_ctx,
-						       auth_cnf->protStatusCode,
+						       REASON_TIMEDOUT,
 						       auth_cnf->peerMacAddr,
 						       session_entry, false);
 			}