diff options
author | Bjørn Mork <bjorn@mork.no> | 2012-01-16 15:11:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-24 21:19:58 +0100 |
commit | 655e247daf52b202a6c2d0f8a06dd2051e756ce4 (patch) | |
tree | 9b2e12717ef616b99301b79396b44961d36b5ec3 /COPYING | |
parent | USB: cdc-wdm: call wake_up_all to allow driver to shutdown on device removal (diff) | |
download | linux-655e247daf52b202a6c2d0f8a06dd2051e756ce4.tar.xz linux-655e247daf52b202a6c2d0f8a06dd2051e756ce4.zip |
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>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions