aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorAlon Ziv <alon+git@nolaviz.org>2010-10-10 08:32:18 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-22 10:47:37 -0800
commitb7562261f479efd9b821885fdbed4646d11459f9 (patch)
tree31dd544f15a58f25869bac84ebe5841508f37eaa /lib/string_helpers.c
parent12a9dbf4448476b2fb523a64f3a6a4624d5a7da4 (diff)
USB: opticon: Fix long-standing bugs in opticon driver
commit 97cd8dc4ca9a1a5efb2cc38758e01492e3b013e2 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions