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

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

Merge "hsic: rmnet: Support GET EPID IOCTL"

parents cfc10e8f 5ae2d352
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,