Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80edec23 authored by Mohammed Javid's avatar Mohammed Javid Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa: Return error -ENODEV for set data quota failure



If set data quota fails due to invalid interface
name, return -ENODEV error.

Change-Id: I45f4082cb8026d3757bd4df237e34df14750ea29
Acked-by: default avatarPooja Kumari <kumarip@qti.qualcomm.com>
Signed-off-by: default avatarMohammed Javid <mjavid@codeaurora.org>
parent 24af5c26
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -253,7 +253,7 @@ static long ipa3_wan_ioctl(struct file *filp,
			(struct wan_ioctl_set_data_quota *)param);
		if (rc != 0) {
			IPAWANERR("WAN_IOC_SET_DATA_QUOTA failed\n");
			if (retval == -ENODEV)
			if (rc == -ENODEV)
				retval = -ENODEV;
			else
				retval = -EFAULT;