commit | 0be19a53cf9532a5e071e640cb3af5946bfc3d6f | [log] [tgz] |
---|---|---|
author | Badhri Jagan Sridharan <badhri@google.com> | Tue Aug 12 20:56:01 2014 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Aug 12 20:02:46 2014 +0000 |
tree | 178fc418d505aec7ec6c48b07e9d44fac4a071a3 | |
parent | a639b97d4ac9f22b64fd4aa8d5ac24177817a0dc [diff] | |
parent | 266685924a81eb6a6c82f8e04cbe1ad5ffbff491 [diff] |
Merge "libusbhost: Fix IOCTL call during usb_request_cancel" into lmp-dev
diff --git a/libusbhost/usbhost.c b/libusbhost/usbhost.c index 488dd0e..684f401 100644 --- a/libusbhost/usbhost.c +++ b/libusbhost/usbhost.c
@@ -695,6 +695,6 @@ 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); }