aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-13 13:21:08 +0100
committerMoyster <oysterized@gmail.com>2017-06-17 15:51:48 +0200
commitec28478318e13e0f538f03c7ed30cfa1ef0d58d6 (patch)
treebe9b073aa54d36a1f1764805a7f1728c95ccf6b9 /scripts/basic
parent25d95d40303a9321538b00fb02bc66670eadf9af (diff)
USB: serial: opticon: fix CTS retrieval at open
commit 2eee05020a0e7ee7c04422cbacdb07859e45dce6 upstream. The opticon driver used a control request at open to trigger a CTS status notification to be sent over the bulk-in pipe. When the driver was converted to using the generic read implementation, an inverted test prevented this request from being sent, something which could lead to TIOCMGET reporting an incorrect CTS state. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: 7a6ee2b02751 ("USB: opticon: switch to generic read implementation") Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions