Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment