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

Commit 317c80a8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents b4a88a55 d1a7dbb3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -250,7 +250,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;