We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e128271 commit d56a1f7Copy full SHA for d56a1f7
drivers/scsi/qla4xxx/ql4_os.c
@@ -706,7 +706,9 @@ void qla4_8xxx_watchdog(struct scsi_qla_host *ha)
706
dev_state = qla4_8xxx_rd_32(ha, QLA82XX_CRB_DEV_STATE);
707
708
/* don't poll if reset is going on */
709
- if (!test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags)) {
+ if (!(test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) ||
710
+ test_bit(DPC_RESET_HA, &ha->dpc_flags) ||
711
+ test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags))) {
712
if (dev_state == QLA82XX_DEV_NEED_RESET &&
713
!test_bit(DPC_RESET_HA, &ha->dpc_flags)) {
714
printk("scsi%ld: %s: HW State: NEED RESET!\n",
0 commit comments