diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-07-19 13:49:59 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2017-07-28 21:34:19 (GMT) |
commit | 53771a490e05e8be750a6ee50002e30df4776e9b (patch) | |
tree | 512b5ba0d928ead16dbb75eee3fded9ac70acf74 /drivers/usb/host | |
parent | f34211960214290d8b38dab2fbdfb18f07582f45 (diff) | |
download | u-boot-fsl-qoriq-53771a490e05e8be750a6ee50002e30df4776e9b.tar.xz |
usb: hub: Revise wLength for 'get port status' request
For accuracy, we should use 'sizeof(struct usb_port_status)' as the
wLength for 'get port status' request, although it happens to be
equal to 'sizeof(struct usb_hub_status)'.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/usb/host')
0 files changed, 0 insertions, 0 deletions