summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/elmcan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/elmcan.c b/module/elmcan.c
index 7707c4d..c5723de 100644
--- 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;