浏览代码

Merge "qca-wifi: CFR: Update channel capture status counters"

Linux Build Service Account 5 年之前
父节点
当前提交
eb1f5d0e2a
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      target_if/cfr/src/target_if_cfr_6018.c

+ 1 - 2
target_if/cfr/src/target_if_cfr_6018.c

@@ -681,14 +681,13 @@ void target_if_cfr_rx_tlv_process(struct wlan_objmgr_pdev *pdev, void *nbuf)
 		goto done; /* HW registers have not captured FFT bins */
 	}
 
+	pcfr->chan_capture_status[cfr_info->chan_capture_status]++;
 	if (cfr_info->rx_location_info_valid) {
 		pcfr->rx_loc_info_valid_cnt++;
 	} else {
 		goto done;
 	}
 
-	pcfr->chan_capture_status[cfr_info->chan_capture_status]++;
-
 	if (cfr_info->chan_capture_status != CAPTURE_ACTIVE) {
 		wlan_objmgr_pdev_release_ref(pdev, WLAN_CFR_ID);
 		qdf_nbuf_free(nbuf);