diff options
author | Alon Ziv <alon+git@nolaviz.org> | 2010-10-10 10:32:18 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 21:22:09 +0400 |
commit | 97cd8dc4ca9a1a5efb2cc38758e01492e3b013e2 (patch) | |
tree | e7ef87664f93d7af5e4acd78eadf8f50eebd2ce4 /drivers/usb/serial/empeg.c | |
parent | c19db4c9e49a049054594272d408e101aaf41b27 (diff) | |
download | linux-97cd8dc4ca9a1a5efb2cc38758e01492e3b013e2.tar.xz |
USB: opticon: Fix long-standing bugs in opticon driver
The bulk-read callback had two bugs:
a) The bulk-in packet's leading two zeros were returned (and the two last
bytes truncated)
b) The wrong URB was transmitted for the second (and later) read requests,
causing further reads to return the entire packet (including leading
zeros)
Signed-off-by: Alon Ziv <alon-git@nolaviz.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/empeg.c')
0 files changed, 0 insertions, 0 deletions