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

Commit 5ae2d352 authored by Vamsi Krishna's avatar Vamsi Krishna
Browse files

hsic: rmnet: Support GET EPID IOCTL



this ioctl is required to bind rmnet physical channel to logical
channel. usb rmnet interface number will be used for that binding.

Change-Id: I4ccde7e9f8373921aa95c6a3a358707474f9865f
Signed-off-by: default avatarVamsi Krishna <vskrishn@codeaurora.org>
parent 4bb26321
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -535,6 +535,10 @@ static int rmnet_ioctl_extended(struct net_device *dev, struct ifreq *ifr)
		strlcpy(ext_cmd.u.if_name, unet->driver_name,
			sizeof(ext_cmd.u.if_name));
		break;
	case RMNET_IOCTL_GET_EPID:
		ext_cmd.u.data =
			unet->intf->cur_altsetting->desc.bInterfaceNumber;
		break;
	}

	rc = copy_to_user(ifr->ifr_ifru.ifru_data, &ext_cmd,