Commit 7507e8bb authored by Oliver Neukum's avatar Oliver Neukum Committed by Zheng Zengkai
Browse files

cdc-acm: fix BREAK rx code path adding necessary calls



stable inclusion
from stable-5.10.28
commit e700e3aec303597851f3113b0837fde7af44223f
bugzilla: 51779

--------------------------------

commit 08dff274 upstream.

Counting break events is nice but we should actually report them to
the tty layer.

Fixes: 5a6a62bd ("cdc-acm: add TIOCMIWAIT")
Signed-off-by: default avatarOliver Neukum <oneukum@suse.com>
Link: https://lore.kernel.org/r/20210311133714.31881-1-oneukum@suse.com


Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent e7b267b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment