Преглед изворни кода

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 пре 2 година
родитељ
комит
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);
 			}