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

Commit 550bf57d authored by Andrew Vasquez's avatar Andrew Vasquez Committed by James Bottomley
Browse files

[SCSI] qla2xxx: Wakeup DPC thread to process any deferred-work requests.

parent c5722708
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2599,6 +2599,10 @@ qla2x00_timer(scsi_qla_host_t *ha)
		start_dpc++;
	}

	/* Process any deferred work. */
	if (!list_empty(&ha->work_list))
		start_dpc++;

	/* Schedule the DPC routine if needed */
	if ((test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) ||
	    test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags) ||