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

Commit 0be19a53 authored by Badhri Jagan Sridharan's avatar Badhri Jagan Sridharan Committed by Android (Google) Code Review
Browse files

Merge "libusbhost: Fix IOCTL call during usb_request_cancel" into lmp-dev

parents a639b97d 26668592
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -695,6 +695,6 @@ struct usb_request *usb_request_wait(struct usb_device *dev)
int usb_request_cancel(struct usb_request *req)
{
    struct usbdevfs_urb *urb = ((struct usbdevfs_urb*)req->private_data);
    return ioctl(req->dev->fd, USBDEVFS_DISCARDURB, &urb);
    return ioctl(req->dev->fd, USBDEVFS_DISCARDURB, urb);
}