aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBandan <bsd@redhat.com>2018-09-07 18:08:49 -0400
committerGerd Hoffmann <kraxel@redhat.com>2018-10-01 10:49:53 +0200
commit44dd4196806ef015e7df3c671ca986b0b5ca0f73 (patch)
tree108837fb263ad8a854c4cff0654b5fe03cc4ceeb /scripts
parent07f426c35eddd79388a23d11cb278600d7e3831d (diff)
usb-mtp: fix error conditions for write operation
Return STORE_FULL if we can't write all the bytes but return incomplete transfer if data received is less then what was specified in the metadata. Also, use d->offset as the file size which is valid for all file sizes. Signed-off-by: Bandan <bsd@redhat.com> Message-id: 20180907220851.9658-2-bsd@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions