Skip to content
Commit d7771f0c authored by Bin Meng's avatar Bin Meng Committed by Marek Vasut
Browse files

usb: emul: hub: Report the actual device speed of the emulation device



At present the usb hub emulator always reports its downstream port
speed as full speed. Actually it is high speed for sandbox-flash,
and low speed for sandbox-keyb. We can determine the device speed
by checking its device descriptor bcdUSB field, and do the proper
hub port status report based on that.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 848436a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment