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

This commit is contained in:
qctecmdr 2022-11-25 01:00:01 -08:00 • committed by Gerrit - the friendly Code Review server
commit 811b817abf

View file

@ -1398,6 +1398,11 @@ static ssize_t ipa3_read_odlstats(struct file *file, char __user *ubuf,
int nbytes;
int cnt = 0;
if (!ipa3_odl_ctx) {
IPADBG("ODL stats not supported\n");
return 0;
}
nbytes = scnprintf(dbg_buff, IPA_MAX_MSG_LEN,
"ODL received pkt =%u\n"
"ODL processed pkt to DIAG=%u\n"