diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-07-19 13:49:59 (GMT) |
---|---|---|
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2017-08-08 08:42:23 (GMT) |
commit | 788e251924aebc1cb481a879490a367029b1cc74 (patch) | |
tree | 1e14e0f7124567bd02dec458eb708be668d40b46 /cmd/ide.c | |
parent | ef66b33e7de58b9da3ed6b205e599e9ab8a1c153 (diff) | |
download | u-boot-788e251924aebc1cb481a879490a367029b1cc74.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 'cmd/ide.c')
0 files changed, 0 insertions, 0 deletions