Explorar o código

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

Linux Build Service Account %!s(int64=5) %!d(string=hai) anos
pai
achega
eb1f5d0e2a
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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);