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

Commit 6fe240c8 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa: rmnet: Update wan IOCTL function in SSR scenario"

parents b9537e4a bed7fcf1
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -82,9 +82,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: