From: Bjørn Mork Date: Mon, 16 Jan 2012 14:11:59 +0000 (+0100) Subject: USB: cdc-wdm: better allocate a buffer that is at least as big as we tell the USB... X-Git-Tag: v3.3-rc2~5^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=655e247daf52b202a6c2d0f8a06dd2051e756ce4;p=pandora-kernel.git USB: cdc-wdm: better allocate a buffer that is at least as big as we tell the USB core As it turns out, there was a mismatch between the allocated inbuf size (desc->bMaxPacketSize0, typically something like 64) and the length we specified in the URB (desc->wMaxCommand, typically something like 2048) Signed-off-by: Bjørn Mork Cc: Oliver Neukum Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed