diff options
Diffstat (limited to 'libusbhost/usbhost.c')
-rw-r--r-- | libusbhost/usbhost.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libusbhost/usbhost.c b/libusbhost/usbhost.c index 576ee00..f5a7c3f 100644 --- a/libusbhost/usbhost.c +++ b/libusbhost/usbhost.c @@ -512,6 +512,7 @@ struct usb_request *usb_request_new(struct usb_device *dev, req->dev = dev; req->max_packet_size = __le16_to_cpu(ep_desc->wMaxPacketSize); req->private_data = urb; + req->endpoint = urb->endpoint; urb->usercontext = req; return req; |