Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b12563e4 authored by Dundi Raviteja's avatar Dundi Raviteja Committed by Madan Koyyalamudi
Browse files

qcacld-3.0: Use correct API to unsubscribe pkt_capture wdi event

Use cdp_wdi_event_unsub() to unsubscribe
PKT_CAPTURE_RX_NO_PEER_SUBSCRIBER in
pkt_capture_wdi_event_unsubscribe().

Change-Id: I43575df1402611d468b8523bf948d2dc86f31dd7
CRs-Fixed: 3260272
parent be5ddcb8
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
/*
 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for
 * any purpose with or without fee is hereby granted, provided that the
@@ -125,7 +125,7 @@ static void pkt_capture_wdi_event_unsubscribe(struct wlan_objmgr_psoc *psoc)
			    WDI_EVENT_PKT_CAPTURE_OFFLOAD_TX_DATA);

	/* unsubscribe for rx data no peer packets */
	cdp_wdi_event_sub(soc, pdev_id, &PKT_CAPTURE_RX_NO_PEER_SUBSCRIBER,
	cdp_wdi_event_unsub(soc, pdev_id, &PKT_CAPTURE_RX_NO_PEER_SUBSCRIBER,
			    WDI_EVENT_PKT_CAPTURE_RX_DATA_NO_PEER);

	/* unsubscribing for rx data packets */