projects
/
elmcan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clear TTY_DO_WRITE_WAKEUP bit on uart_side_failure
[elmcan.git]
/
module
/
elmcan.c
diff --git
a/module/elmcan.c
b/module/elmcan.c
index 7707c4d4c04fdae1cfc8173e84b77cc2df46c84a..c5723dedb92ac6cf28f1ae9bfccc23c02fe09a36 100644
(file)
--- a/
module/elmcan.c
+++ b/
module/elmcan.c
@@
-303,6
+303,8
@@
static inline void elm327_uart_side_failure(struct elmcan *elm)
elm->uart_side_failure = true;
+ clear_bit(TTY_DO_WRITE_WAKEUP, &elm->tty->flags);
+
elm->can.can_stats.bus_off++;
netif_stop_queue(elm->dev);
elm->can.state = CAN_STATE_BUS_OFF;