aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi
diff options
context:
space:
mode:
authorIsaac Lozano <109lozanoi@gmail.com>2016-08-06 03:06:01 -0700
committerGerd Hoffmann <kraxel@redhat.com>2016-09-14 11:17:06 +0200
commit8a5865f331028e66b4ed233129d7a914c2d5bfc7 (patch)
tree86d156bbf9942457f33b9784df7bfc8232bc5ee0 /hw/scsi
parentb53dd4495ced2432a0b652ea895e651d07336f7e (diff)
usb-mtp: fix sending files larger than 4gb
MTP requires that if a file is larger than 4gb or if sending data larger than 4gb, that the length field be set to 0xFFFFFFFF. Also widened a couple variables to prevent overflow errors. Signed-off-by: Isaac Lozano <109lozanoi@gmail.com> Message-id: 01ad8ec7775f58575801ac3f13716f553a16815e.1470477265.git.109lozanoi@gmail.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/scsi')
0 files changed, 0 insertions, 0 deletions