summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/twe/twe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/twe/twe.c b/sys/dev/twe/twe.c
index fba49f2ec0b1..fadf767fb5aa 100644
--- a/sys/dev/twe/twe.c
+++ b/sys/dev/twe/twe.c
@@ -315,7 +315,7 @@ twe_intr(struct twe_softc *sc)
twe_attention_intr(sc);
if (status_reg & TWE_STATUS_COMMAND_INTERRUPT)
twe_command_intr(sc);
- if (status_reg * TWE_STATUS_RESPONSE_INTERRUPT)
+ if (status_reg & TWE_STATUS_RESPONSE_INTERRUPT)
twe_done(sc);
};