mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
ac791f19a2
If the tx_ignore_nack_until_eom error injection was activated, then tx_nacked was never set instead of setting it when the last byte of the message was transmitted. As a result the transmit was marked as OK, when it should have been NACKed. Modify the condition so that it always sets tx_nacked when the last byte of the message was transmitted. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: <stable@vger.kernel.org> # for v4.17 and up Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> |
||
---|---|---|
.. | ||
cec-adap.c | ||
cec-api.c | ||
cec-core.c | ||
cec-notifier.c | ||
cec-pin-error-inj.c | ||
cec-pin-priv.h | ||
cec-pin.c | ||
cec-priv.h | ||
Kconfig | ||
Makefile |