diff options
author | msmith <msmith@FreeBSD.org> | 2001-02-26 20:13:19 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-02-26 20:13:19 +0000 |
commit | be8339b765b77b578b292a469cb0ddd001b5f534 (patch) | |
tree | ff76e6c180d3d1fc27b14ed773b950f841b7f5b2 /sys/dev | |
parent | c5bcdc484862f3390e4b2301fe8a97b9ac96aef0 (diff) | |
download | FreeBSD-src-be8339b765b77b578b292a469cb0ddd001b5f534.zip FreeBSD-src-be8339b765b77b578b292a469cb0ddd001b5f534.tar.gz |
Typo fix; use & to test for bits set in the status register.
Submitted by: Joel Jacobson <jake@3ware.com>
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/twe/twe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/twe/twe.c b/sys/dev/twe/twe.c index fba49f2..fadf767 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); }; |