Re: [PATCH v2] USB: Gadget, fsl_qe: Fixed send of zero byte packets

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Holger brunck
Date: Monday, November 22, 2010 - 3:02 am

Hi Sergei,

Sergei Shtylyov wrote:

Ok I will do this if the patch is with regards to its content ok.


Hm, yes this piece of code looks a bit odd to me too. And I did not understand
what it should solve. But I let it untouched, because the bug my patch should
fix is in my eyes a different topic.


No not (req->req.length % USB_EP0_MAX_SIZE == 0), because the nulldata which is
missing should only be send if it is the last packet of a frame and not every
time a 64byte packet is send.

Best regards
Holger

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v2] USB: Gadget, fsl_qe: Fixed send of zero byt ..., Holger brunck, (Mon Nov 22, 3:02 am)