From e48e6ea80e3d7048ea03a49c6b2576ce1cebcd05 Mon Sep 17 00:00:00 2001 From: Pragaspathi Thilagaraj Date: Tue, 24 May 2022 01:04:52 +0530 Subject: [PATCH] qcacld-3.0: Check TX flag for all frames Currently driver checks TX flag only for authentication frames. This causes wrong tag for the frames. Check TX flag for Deauth/Disassoc & authentication frames also. Change-Id: Id499bc1978ee72bac2435be165b31d0db49ce9d8 CRs-Fixed: 3203858 --- components/wmi/src/wmi_unified_roam_tlv.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/wmi/src/wmi_unified_roam_tlv.c b/components/wmi/src/wmi_unified_roam_tlv.c index 920853b417..92c2beb10b 100644 --- a/components/wmi/src/wmi_unified_roam_tlv.c +++ b/components/wmi/src/wmi_unified_roam_tlv.c @@ -2055,10 +2055,6 @@ extract_roam_frame_info_tlv(wmi_unified_t wmi_handle, void *evt_buf, dst_buf->is_rsp = WMI_GET_BITS(src_data->frame_info, WLAN_FRAME_INFO_RESP_OFFSET, 1); - dst_buf->is_rsp &= - (dst_buf->type != WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT && - dst_buf->subtype == MGMT_SUBTYPE_AUTH); - dst_buf->seq_num = WMI_GET_BITS(src_data->frame_info, WLAN_FRAME_INFO_SEQ_NUM_OFFSET, 16);