OSDN Git Service

MTP: Don't attempt to read more than 16K at a time from the MTP driver DO NOT MERGE
authorMike Lockwood <lockwood@google.com>
Thu, 1 Dec 2011 23:36:06 +0000 (18:36 -0500)
committerMike Lockwood <lockwood@google.com>
Fri, 2 Dec 2011 20:12:30 +0000 (15:12 -0500)
commit8af4c7d02fc484ed1bdc082fc2a5383bc50f2180
tree89d39512087cd15a3fb44a8bb5f28e36303eeb19
parent4fe1c6c3988f79fd67c14a1f91e4b1df8a7e806f
MTP: Don't attempt to read more than 16K at a time from the MTP driver DO NOT MERGE

This could happen sometimes if other operations increased the size of the
data packet buffer to > 16K

Change-Id: I10f85f0ce32df39f46b0a984361958c0a13f6800
Signed-off-by: Mike Lockwood <lockwood@google.com>
media/mtp/MtpDataPacket.cpp