Merge "msm: ipa: Fix to pass ioctl param to reset_stats"
This commit is contained in:
commit
b2e8334dd7
1 changed files with 3 additions and 2 deletions
|
@ -251,8 +251,9 @@ static long wan_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
|
|||
break;
|
||||
}
|
||||
|
||||
if (rmnet_ipa_reset_tethering_stats(NULL)) {
|
||||
IPAWANERR("WAN_IOC_QUERY_TETHER_STATS failed\n");
|
||||
if (rmnet_ipa_reset_tethering_stats(
|
||||
(struct wan_ioctl_reset_tether_stats *)param)) {
|
||||
IPAWANERR("WAN_IOC_RESET_TETHER_STATS failed\n");
|
||||
retval = -EFAULT;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue