mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
mtp: modify receive_file_work return error problem, when force disconnect usb
This commit is contained in:
@@ -787,7 +787,8 @@ static void receive_file_work(struct work_struct *data)
|
||||
if (read_req->actual < read_req->length) {
|
||||
/* short packet is used to signal EOF for sizes > 4 gig */
|
||||
DBG(cdev, "got short packet\n");
|
||||
count = 0;
|
||||
if (count == 0xFFFFFFFF)
|
||||
count = 0;
|
||||
}
|
||||
|
||||
write_req = read_req;
|
||||
|
||||
Reference in New Issue
Block a user