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

Commit 619d5a0d authored by Saurav Kashyap's avatar Saurav Kashyap Committed by James Bottomley
Browse files

[SCSI] qla2xxx: Do MPI reset only for ISP81xx.

parent 61e1b269
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -796,11 +796,13 @@ qla2x00_process_loopback(struct fc_bsg_job *bsg_job)
				qla2xxx_wake_dpc(vha);
				qla2x00_wait_for_chip_reset(vha);
				/* Also reset the MPI */
				if (IS_QLA81XX(ha)) {
					if (qla81xx_restart_mpi_firmware(vha) !=
					    QLA_SUCCESS) {
						ql_log(ql_log_warn, vha, 0x702a,
						    "MPI reset failed.\n");
					}
				}

				rval = -EIO;
				goto done_free_dma_rsp;