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

Commit c485fd1e 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: rmnet: Update wan IOCTL function in SSR scenario"

parents d7ee75c2 8798dde4
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -79,9 +79,18 @@ static long ipa3_wan_ioctl(struct file *filp,
		DRIVER_NAME);

	if (!ipa3_process_ioctl) {
		IPAWANDBG("modem is in SSR, ignoring ioctl\n");

		if ((cmd == WAN_IOC_SET_LAN_CLIENT_INFO) ||
			(cmd == WAN_IOC_CLEAR_LAN_CLIENT_INFO)) {
			IPAWANDBG("Modem is in SSR\n");
			IPAWANDBG("Still allow IOCTL for exceptions (%d)\n",
				cmd);
		} else {
			IPAWANERR("Modem is in SSR, ignoring ioctl (%d)\n",
				cmd);
			return -EAGAIN;
		}
	}

	switch (cmd) {
	case WAN_IOC_ADD_FLT_RULE: