瀏覽代碼

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);
 			}