Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a77d07eb authored by Sujeet Kumar's avatar Sujeet Kumar Committed by Gerrit - the friendly Code Review server
Browse files

USB: android: Handle control request in PTP mode.



Some hosts may send MTP_REQ_CANCEL followed by
MTP_REQ_GET_DEVICE_STATUS and device returns ENOSUPP
from composite setup. This happens when previous
control request is canceled, host send this command
and this command is expected to be handled from control
request function. Earlier this was tried once by older
hosts but in latest hosts this is tried uptill three
times. Host delays the packet transfers and may keep
trying this repeatedly. An overall impact on throughput
may be seen if trying to read large files in PTP mode.

Add contol request handler to handle the requests in
PTP mode.

CRs-Fixed: 740778
Change-Id: Ifc22b526793b4f345d30641802f4a8f620d14cd5
Signed-off-by: default avatarSujeet Kumar <ksujeet@codeaurora.org>
parent bdbe9b16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment