Skip to content

Commit

Permalink
Merge "libusbhost: Fix IOCTL call during usb_request_cancel" into lmp…
Browse files Browse the repository at this point in the history
…-dev
  • Loading branch information
Badhri Jagan Sridharan authored and Android (Google) Code Review committed Aug 12, 2014
2 parents a639b97 + 2666859 commit 0be19a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libusbhost/usbhost.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 0be19a5

Please sign in to comment.