Typo fix; use & to test for bits set in the status register.
Submitted by: Joel Jacobson <jake@3ware.com>
This commit is contained in:
parent
b9af273fe3
commit
358cd20f3a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73104
@ -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);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user