commit | 97cd8dc4ca9a1a5efb2cc38758e01492e3b013e2 | [log] [tgz] |
---|---|---|
author | Alon Ziv <alon+git@nolaviz.org> | Sun Oct 10 08:32:18 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Oct 22 10:22:09 2010 -0700 |
tree | e7ef87664f93d7af5e4acd78eadf8f50eebd2ce4 | |
parent | c19db4c9e49a049054594272d408e101aaf41b27 [diff] |
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>