git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19b85b3
)
USB: cdc-wdm: better allocate a buffer that is at least as big as we tell the USB...
author
Bjørn Mork
<bjorn@mork.no>
Mon, 16 Jan 2012 14:11:59 +0000
(15:11 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 24 Jan 2012 22:33:50 +0000
(14:33 -0800)
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>
drivers/usb/class/cdc-wdm.c
patch
|
blob
|
history
diff --cc
drivers/usb/class/cdc-wdm.c
Simple merge