usb: mtp: reply INCOMPLETE_TRANSFER on read errors
commit8ebb87635790e7033e19e9a26e8c5eef22560bcc
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 25 Apr 2014 10:37:49 +0000 (25 12:37 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 5 May 2014 10:58:02 +0000 (5 12:58 +0200)
tree1db9883a69260e24a7c257510a41ce9a6f803c4b
parentafa82daf1627645d3ad3e05954b098fff001ab32
usb: mtp: reply INCOMPLETE_TRANSFER on read errors

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/usb/dev-mtp.c