renode-infrastructure
renode-infrastructure copied to clipboard
USBIPServer: Fix URB reply header reference for HandleSetupPacket
Currently urbHeader is a member of class USBIPServerExtensions, so the reply URB header may use a updated wrong sequence number in resultCallback. So we have to create a local copy to capture the proper urbHeader.