diff options
-rw-r--r-- | drivers/scsi/stex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c index ea0d82461317..92dbac03c2e5 100644 --- a/drivers/scsi/stex.c +++ b/drivers/scsi/stex.c | |||
@@ -1041,7 +1041,7 @@ static void stex_hard_reset(struct st_hba *hba) | |||
1041 | 1041 | ||
1042 | for (i = 0; i < MU_MAX_DELAY_TIME; i++) { | 1042 | for (i = 0; i < MU_MAX_DELAY_TIME; i++) { |
1043 | pci_read_config_word(hba->pdev, PCI_COMMAND, &pci_cmd); | 1043 | pci_read_config_word(hba->pdev, PCI_COMMAND, &pci_cmd); |
1044 | if (pci_cmd & PCI_COMMAND_MASTER) | 1044 | if (pci_cmd != 0xffff && (pci_cmd & PCI_COMMAND_MASTER)) |
1045 | break; | 1045 | break; |
1046 | msleep(1); | 1046 | msleep(1); |
1047 | } | 1047 | } |