From 9f4ca5b05eb50969ff077786cb0db2cae5e55f57 Mon Sep 17 00:00:00 2001 From: Wu Gao Date: Wed, 8 Apr 2020 06:30:19 +0800 Subject: [PATCH] qcacld-3.0: Indicated CFR Stopped to userspace After stop CFR capture, indicate CFR stopped event to userspace. Change-Id: I886d519332a87c9ec1b59c592eaf9e6ddc10f423 CRs-Fixed: 2659696 --- core/hdd/src/wlan_hdd_cfr.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/hdd/src/wlan_hdd_cfr.c b/core/hdd/src/wlan_hdd_cfr.c index cb3b2455ec69..7abbc054393e 100644 --- a/core/hdd/src/wlan_hdd_cfr.c +++ b/core/hdd/src/wlan_hdd_cfr.c @@ -350,6 +350,11 @@ wlan_cfg80211_peer_cfr_capture_cfg(struct wiphy *wiphy, ucfg_cfr_subscribe_ppdu_desc(wlan_vdev_get_pdev(vdev), is_start_capture); ucfg_cfr_committed_rcc_config(vdev); + if (!is_start_capture) { + ucfg_cfr_stop_indication(vdev); + hdd_debug("stop indication done"); + } + wlan_objmgr_vdev_release_ref(vdev, WLAN_CFR_ID); return 0;