
17 Jun
2017
17 Jun
'17
5:43 a.m.
On 16 June 2017 at 07:31, Bin Meng bmeng.cn@gmail.com wrote:
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
common/usb_hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org