Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 811b817a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa3: Adding check for odl stats"

parents 96bf8d6e fdd8f353
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -1398,6 +1398,11 @@ static ssize_t ipa3_read_odlstats(struct file *file, char __user *ubuf,
	int nbytes;
	int nbytes;
	int cnt = 0;
	int cnt = 0;


	if (!ipa3_odl_ctx) {
                IPADBG("ODL stats not supported\n");
                return 0;
	}

	nbytes = scnprintf(dbg_buff, IPA_MAX_MSG_LEN,
	nbytes = scnprintf(dbg_buff, IPA_MAX_MSG_LEN,
			"ODL received pkt =%u\n"
			"ODL received pkt =%u\n"
			"ODL processed pkt to DIAG=%u\n"
			"ODL processed pkt to DIAG=%u\n"