From f33b45577dd725283674eb00dfb8918484cceb23 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 22 Jul 2017 22:37:34 +0300 Subject: [PATCH] Previous update fix. --- a2091.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a2091.cpp b/a2091.cpp index af5371e9..60c57d72 100644 --- a/a2091.cpp +++ b/a2091.cpp @@ -3756,7 +3756,7 @@ static void wd_execute_cmd(struct wd_state *wds, int cmd, int msg, int unit) if (msg == 0) { if (WD33C93_DEBUG > 0) write_log (_T("%s command %02X\n"), WD33C93, cmd); - switch (cmd) + switch (cmd & 0x7f) { case WD_CMD_RESET: wd_cmd_reset(wd, true); -- 2.47.3