diff options
author | Mike Lockwood <lockwood@android.com> | 2011-02-14 08:05:40 -0500 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2011-02-14 08:05:40 -0500 |
commit | b5d68a3c28d0b7a947373344cbda2a2369d0b67d (patch) | |
tree | 56115103f327201bc30b76df8d06368963ccebb5 /libusbhost | |
parent | 99038f96fd458848c18d63db8cc7668cc8f1a1c7 (diff) | |
download | system_core-b5d68a3c28d0b7a947373344cbda2a2369d0b67d.zip system_core-b5d68a3c28d0b7a947373344cbda2a2369d0b67d.tar.gz system_core-b5d68a3c28d0b7a947373344cbda2a2369d0b67d.tar.bz2 |
libusbhost: Save endpoint ID in usb_request struct
Change-Id: I2cf189cee67c2efbcf919c8bae1447a6cb112f02
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'libusbhost')
-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; |