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;
}
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;
}