From b1b7cd32c190d06930382b2b2e9f80c3b439cb27 Mon Sep 17 00:00:00 2001 From: Vulupala Shashank Reddy Date: Mon, 23 Mar 2020 14:04:27 +0530 Subject: [PATCH] qcacld-3.0: Process Mgmt packets only when packet capture mode is 1 Management frames should be captured only when Packet_Capture_Mode is 1. Change-Id: Idf719d5d469fecd9d72d475d3245684e5acb0f04 CRs-Fixed: 2647399 --- core/wma/src/wma_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/wma/src/wma_data.c b/core/wma/src/wma_data.c index 92892a2cb104..93f690d0734e 100644 --- a/core/wma/src/wma_data.c +++ b/core/wma/src/wma_data.c @@ -2797,7 +2797,7 @@ QDF_STATUS wma_tx_packet(void *wma_context, void *tx_frame, uint16_t frmLen, WLAN_MGMT_NB_ID); } - if (ucfg_pkt_capture_get_pktcap_mode(psoc) && + if (ucfg_pkt_capture_get_pktcap_mode(psoc) & PKT_CAPTURE_MODE_MGMT_ONLY) { ucfg_pkt_capture_mgmt_tx(wma_handle->pdev, tx_frame,