OSDN Git Service

usb-mtp: reset ObjectInfo dataset size on cleanup
authorBandan Das <bsd@redhat.com>
Fri, 7 Sep 2018 22:08:51 +0000 (18:08 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 1 Oct 2018 08:49:54 +0000 (10:49 +0200)
commitf7c36a754c0a597e6c397e6e21e03798fc2eee69
tree41b3de635e68c8c0f62482d2e6e83a69e2543b59
parent1ee53067f849506042193a9fd57f857583536eca
usb-mtp: reset ObjectInfo dataset size on cleanup

Stale values in this field may result in qemu
expecting more data on the next operation

Signed-off-by: Bandan Das <bsd@redhat.com>
Message-id: 20180907220851.9658-4-bsd@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/dev-mtp.c