From: Hans Petter Selasky Date: Mon, 25 Apr 2011 05:35:19 +0000 (-0700) Subject: cdc_ncm: fix short packet issue on some devices X-Git-Tag: v2.6.39-rc6~7^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c61d9d611cb5b290f1b4ac57c4631acfd6e3b5a;p=pandora-kernel.git cdc_ncm: fix short packet issue on some devices 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 Signed-off-by: Greg Kroah-Hartman Signed-off-by: David S. Miller --- Reading git-diff-tree failed