diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2005-09-20 16:32:11 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-09-25 13:11:35 -0400 |
commit | 44550322cb601ac3f882e7438bbeec971fa1b1a3 (patch) | |
tree | e50f57f9c85bacf3fc07359b1a339432dea31a7a /drivers/scsi/qla2xxx | |
parent | 6f3a20242db2597312c50abc11f1e747c5d2326a (diff) |
[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: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_rscn.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_rscn.c b/drivers/scsi/qla2xxx/qla_rscn.c index bdc3bc74bbe1..1eba98828636 100644 --- a/drivers/scsi/qla2xxx/qla_rscn.c +++ b/drivers/scsi/qla2xxx/qla_rscn.c | |||
@@ -330,6 +330,8 @@ qla2x00_update_login_fcport(scsi_qla_host_t *ha, struct mbx_entry *mbxstat, | |||
330 | fcport->flags &= ~FCF_FAILOVER_NEEDED; | 330 | fcport->flags &= ~FCF_FAILOVER_NEEDED; |
331 | fcport->iodesc_idx_sent = IODESC_INVALID_INDEX; | 331 | fcport->iodesc_idx_sent = IODESC_INVALID_INDEX; |
332 | atomic_set(&fcport->state, FCS_ONLINE); | 332 | atomic_set(&fcport->state, FCS_ONLINE); |
333 | if (fcport->rport) | ||
334 | fc_remote_port_unblock(fcport->rport); | ||
333 | } | 335 | } |
334 | 336 | ||
335 | 337 | ||