From 29a90a5971e25e71c3cf24828d036f5f71bd2645 Mon Sep 17 00:00:00 2001 From: VIJAY RAJ Date: Mon, 1 Aug 2022 16:07:33 +0530 Subject: [PATCH] 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 --- core/mac/src/pe/lim/lim_process_auth_frame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/mac/src/pe/lim/lim_process_auth_frame.c b/core/mac/src/pe/lim/lim_process_auth_frame.c index 2d537bfeec..fe11e6db9f 100644 --- a/core/mac/src/pe/lim/lim_process_auth_frame.c +++ b/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,