summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--module/elmcan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/elmcan.c b/module/elmcan.c
index 14cfe27..3724d97 100644
--- a/module/elmcan.c
+++ b/module/elmcan.c
@@ -579,6 +579,8 @@ static void elm327_handle_prompt(struct elmcan *elm)
*/
elm->state = ELM_NOTINIT;
elm327_kick_into_cmd_mode(elm);
+
+ return;
} else if (test_and_clear_bit(ELM_TODO_SILENT_MONITOR, &elm->cmds_todo)) {
snprintf(txbuf, sizeof(txbuf), "ATCSM%i\r", !(!(elm->can.ctrlmode & CAN_CTRLMODE_LISTENONLY)));
} else if (test_and_clear_bit(ELM_TODO_RESPONSES, &elm->cmds_todo)) {