mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
Merge "msm: ipa3: Adding check for odl stats"
This commit is contained in:
commit
811b817abf
1 changed files with 5 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue