am e4c5b614: Merge "libusbhost: Fix IOCTL call during usb_request_cancel"
* commit 'e4c5b6143b12925426a1af36ae0a201d18f93cad': libusbhost: Fix IOCTL call during usb_request_cancel
This commit is contained in:
commit
0d8943c252
1 changed files with 1 additions and 1 deletions
|
|
@ -690,6 +690,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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue