diff options
-rw-r--r-- | drivers/scsi/dc395x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c index bd977be7544e..54f50b07dac7 100644 --- a/drivers/scsi/dc395x.c +++ b/drivers/scsi/dc395x.c | |||
@@ -1597,7 +1597,7 @@ static u8 start_scsi(struct AdapterCtlBlk* acb, struct DeviceCtlBlk* dcb, | |||
1597 | u32 tag_mask = 1; | 1597 | u32 tag_mask = 1; |
1598 | u8 tag_number = 0; | 1598 | u8 tag_number = 0; |
1599 | while (tag_mask & dcb->tag_mask | 1599 | while (tag_mask & dcb->tag_mask |
1600 | && tag_number <= dcb->max_command) { | 1600 | && tag_number < dcb->max_command) { |
1601 | tag_mask = tag_mask << 1; | 1601 | tag_mask = tag_mask << 1; |
1602 | tag_number++; | 1602 | tag_number++; |
1603 | } | 1603 | } |