Pārlūkot izejas kodu

qcacld-3.0: Indicated CFR Stopped to userspace

After stop CFR capture, indicate CFR stopped event to userspace.

Change-Id: I886d519332a87c9ec1b59c592eaf9e6ddc10f423
CRs-Fixed: 2659696
Wu Gao 5 gadi atpakaļ
vecāks
revīzija
9f4ca5b05e
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      core/hdd/src/wlan_hdd_cfr.c

+ 5 - 0
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;