Skip to content
Commit 9bcb762c authored by Yan Zhu's avatar Yan Zhu Committed by Greg Kroah-Hartman
Browse files

usb: host: use usb_endpoint_maxp instead of usb_maxpacket



fhci_queue_urb() shouldn't use urb->pipe to compute the maxpacket
size anyway.It should use usb_endpoint_maxp(&urb->ep->desc).

Signed-off-by: default avatarYan Zhu <zhuyan34@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 381419fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment