]> git.ipfire.org Git - thirdparty/qemu.git/commit
usb: call reset handler before updating state
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 22 May 2019 09:47:00 +0000 (11:47 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 29 May 2019 05:03:56 +0000 (07:03 +0200)
commit7ed4657396add28382081a15557c78cd480c1cf1
tree7cb9c67bb31cb9182e0c78d963644b8cbae041a1
parentda35f7f1eeff9f249a9597400fc514c83fd3a0f8
usb: call reset handler before updating state

That way the device reset handler can see what
the before-reset state of the device is.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20190522094702.17619-2-kraxel@redhat.com
hw/usb/core.c