Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0753b487 authored by Vikas Chaudhary's avatar Vikas Chaudhary Committed by James Bottomley
Browse files

[SCSI] qla4xxx: clear AF_DPC_SCHEDULED flage when exit from do_dpc

parent 9d4946f8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1208,7 +1208,7 @@ static void qla4xxx_do_dpc(struct work_struct *work)

	/* Initialization not yet finished. Don't do anything yet. */
	if (!test_bit(AF_INIT_DONE, &ha->flags))
		return;
		goto do_dpc_exit;

	/* HBA is in the process of being permanently disabled.
	 * Don't process anything */
@@ -1347,6 +1347,8 @@ static void qla4xxx_do_dpc(struct work_struct *work)
			}
		}
	}

do_dpc_exit:
	clear_bit(AF_DPC_SCHEDULED, &ha->flags);
}