Re: [PATCH] cdc_ncm: fix short packet issue on some devices

From: David Miller
Date: Mon Apr 25 2011 - 01:36:13 EST


From: Greg KH <greg@xxxxxxxxx>
Date: Sun, 24 Apr 2011 16:59:30 -0700

> From: Hans Petter Selasky <hselasky@xxxxxxx>
>
> The default maximum transmit length for NCM USB frames should be so
> that a short packet happens at the end if the device supports a length
> greater than the defined maximum. This is achieved by adding 4 bytes
> to the maximum length so that the existing logic can fit a short
> packet there.
>
> Signed-off-by: Hans Petter Selasky <hselasky@xxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

Applied, thanks Greg.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/