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

Skip to content
Commit cedcd647 authored by sgopal1's avatar sgopal1 Committed by Saranya Gopal
Browse files

MtpPacket: Add finite timeout for bulk transfer



When timeout is set as '0' for USB bulk transfer,
kernel waits indefinitely in case of faulty
responder devices. This results in device reboot
if hung_task panic is enabled in kernel.
So, add a finite timeout for USB bulk transfer.

Bug: 113991602
Test: manual run and test with bad responder device

Change-Id: I29631dfa3624afa4b4f9912a985351993cbc1698
Signed-off-by: default avatarsgopal1 <saranya.gopal@intel.com>
parent d2285710
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment