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: sgopal1 <saranya.gopal@intel.com>
Loading
Please register or sign in to comment