Răsfoiți Sursa

qcacmn: Set metadata version for target QCN9160

QCN9160 CFR is supposed to in parity with QCN9000, hence
set the proper metadata version.

Change-Id: I34f06dd856d2c2ccf3b956592fa0f1035e608d46
CRs-Fixed: 3454540
Shwetha G K 2 ani în urmă
părinte
comite
b09889a61e
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      target_if/cfr/src/target_if_cfr.c

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

@@ -219,7 +219,8 @@ void target_if_cfr_fill_header(struct csi_cfr_header *hdr,
 		hdr->cmn.cfr_metadata_version = CFR_META_VERSION_8;
 		hdr->cmn.chip_type = CFR_CAPTURE_RADIO_ALDER;
 	} else {
-		if (target_type == TARGET_TYPE_QCN9000)
+		if ((target_type == TARGET_TYPE_QCN9000) ||
+		    (target_type == TARGET_TYPE_QCN9160))
 			hdr->cmn.cfr_metadata_version = CFR_META_VERSION_9;
 		else if (target_type == TARGET_TYPE_QCN9224 ||
 			 target_type == TARGET_TYPE_QCA5332 ||