commit | cafbe85fb0d00d32988905c4978df433ca9b6512 | [log] [tgz] |
---|---|---|
author | Bjørn Mork <bjorn@mork.no> | Mon Jan 16 15:11:59 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jan 24 14:33:50 2012 -0800 |
tree | 6c4cb1ddd01bec48ae1808c848d5173afe772280 | |
parent | 19b85b3b87fd1388df1f4a35969823521d35d243 [diff] |
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 <bjorn@mork.no> Cc: Oliver Neukum <oliver@neukum.org> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>