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

Commit 207fab54 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: Add get ep info ioctl iface only for auto use case"

parents 39596f53 3010e19e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2061,6 +2061,8 @@ static long ipa3_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)

	case IPA_IOC_GET_PHERIPHERAL_EP_INFO:
		IPADBG("Got IPA_IOC_GET_EP_INFO\n");
		if (ipa3_ctx->ipa_config_is_auto == false)
			return -ENOTTY;
		if (copy_from_user(&ep_info, (const void __user *)arg,
			sizeof(struct ipa_ioc_get_ep_info))) {
			IPAERR_RL("copy_from_user fails\n");