aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorTobias Herzog <t-herzog@gmx.de>2018-09-22 22:11:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-10 07:39:23 -0800
commit07e37034901f3210f29e7d76f113e0ea5f9c9193 (patch)
tree745b5ef6c8b627d76f60f02630384efff5f979c1 /net/lapb/lapb_timer.c
parentfdbbd418092845102fd8f21e3eadc8498b0bf38e (diff)
cdc-acm: correct counting of UART states in serial state notification
commit f976d0e5747ca65ccd0fb2a4118b193d70aa1836 upstream. The usb standard ("Universal Serial Bus Class Definitions for Communication Devices") distiguishes between "consistent signals" (DSR, DCD), and "irregular signals" (break, ring, parity error, framing error, overrun). The bits of "irregular signals" are set, if this error/event occurred on the device side and are immeadeatly unset, if the serial state notification was sent. Like other drivers of real serial ports do, just the occurence of those events should be counted in serial_icounter_struct (but no 1->0 transitions). Signed-off-by: Tobias Herzog <t-herzog@gmx.de> Acked-by: Oliver Neukum <oneukum@suse.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions