Gerd Hoffmann 39912c14da usb/storage: clear csw on reset
Stale data in csw (specifically residue) can confuse the state machine
and allows the guest trigger an assert().  So clear csw on reset to
avoid this happening in case the guest resets the device in the middle
of a request.

Buglink: https://bugs.launchpad.net/qemu/+bug/1523811
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210312094954.796799-1-kraxel@redhat.com>
2021-03-15 17:01:17 +01:00
..
2021-03-09 21:19:10 +01:00
2021-03-15 17:01:17 +01:00
2021-03-09 21:19:10 +01:00
2021-03-15 17:01:12 +01:00
2021-03-15 17:01:12 +01:00
2021-03-15 17:00:58 +01:00