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

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

[SCSI] qla2xxx: fix remote port timeout with qla2xxx driver



This patch fixes a hole in the rport unblock handling when processing
fabric events via the ADISC/PLOGI device state machine.  Original code
would not properly 'unblock' the port upon the port reloging into the
fabric.

Signed-off-by: default avatarAndrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 6f3a2024
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -330,6 +330,8 @@ qla2x00_update_login_fcport(scsi_qla_host_t *ha, struct mbx_entry *mbxstat,
	fcport->flags &= ~FCF_FAILOVER_NEEDED;
	fcport->flags &= ~FCF_FAILOVER_NEEDED;
	fcport->iodesc_idx_sent = IODESC_INVALID_INDEX;
	fcport->iodesc_idx_sent = IODESC_INVALID_INDEX;
	atomic_set(&fcport->state, FCS_ONLINE);
	atomic_set(&fcport->state, FCS_ONLINE);
	if (fcport->rport)
		fc_remote_port_unblock(fcport->rport);
}
}