Merge "msm: ipa: Fix to pass ioctl param to reset_stats"

This commit is contained in:
Linux Build Service Account 2017-01-18 23:48:55 -08:00 committed by Gerrit - the friendly Code Review server
commit b2e8334dd7

View file

@ -251,8 +251,9 @@ static long wan_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
break; break;
} }
if (rmnet_ipa_reset_tethering_stats(NULL)) { if (rmnet_ipa_reset_tethering_stats(
IPAWANERR("WAN_IOC_QUERY_TETHER_STATS failed\n"); (struct wan_ioctl_reset_tether_stats *)param)) {
IPAWANERR("WAN_IOC_RESET_TETHER_STATS failed\n");
retval = -EFAULT; retval = -EFAULT;
break; break;
} }