Ver código fonte

qcacld-3.0: Incorrect auth_type value during SAE logging

In the api lim_process_sae_auth_frame(), the value for
auth_type is set to '0' in api wlan_connectivity_mgmt_event()
for SAE authentication, resulting in auth_type to be logged
as zero.

Pass the correct value of auth_type in the api
wlan_connectivity_mgmt_event() for SAE authentication
logging.

Change-Id: I65833ceb89e7db8fd2134b5c7e9fb0a415581061
CRs-Fixed: 3253900
VIJAY RAJ 2 anos atrás
pai
commit
29a90a5971
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      core/mac/src/pe/lim/lim_process_auth_frame.c

+ 2 - 2
core/mac/src/pe/lim/lim_process_auth_frame.c

@@ -489,8 +489,8 @@ static void lim_process_sae_auth_frame(struct mac_context *mac_ctx,
 		wlan_connectivity_mgmt_event(
 			(struct wlan_frame_hdr *)mac_hdr, pe_session->vdev_id,
 			sae_status_code, 0,
-			WMA_GET_RX_RSSI_NORMALIZED(rx_pkt_info), auth_algo, 0,
-			sae_auth_seq, sae_auth_seq, WLAN_AUTH_RESP);
+			WMA_GET_RX_RSSI_NORMALIZED(rx_pkt_info), auth_algo,
+			sae_auth_seq, sae_auth_seq, 0, WLAN_AUTH_RESP);
 	}
 
 	lim_send_sme_mgmt_frame_ind(mac_ctx, mac_hdr->fc.subType,