aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2005-10-27 14:09:38 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-10-28 12:52:05 -0400
commit0eedfcf0cdac30b14d1e6c99abc6604347ef0af8 (patch)
treef30b260826000f2a18fe76c176f974b43ef066aa
parent8e0c5ebde82b08f6d996e11983890fc4cc085fab (diff)
[SCSI] qla2xxx: Correct issue where fcport is prematurely marked DEAD.
The non-handled failure cases of the Fabric Login mailbox command handling logic would incorrectly mark the fcport as dead and not allow the standard port-down-retry-count logic to manage the transition. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index fbb6feee40cf..6fc8bbae9398 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -2858,7 +2858,7 @@ qla2x00_fabric_login(scsi_qla_host_t *ha, fc_port_t *fcport,
2858 fcport->d_id.b.domain, fcport->d_id.b.area, 2858 fcport->d_id.b.domain, fcport->d_id.b.area,
2859 fcport->d_id.b.al_pa); 2859 fcport->d_id.b.al_pa);
2860 fcport->loop_id = FC_NO_LOOP_ID; 2860 fcport->loop_id = FC_NO_LOOP_ID;
2861 atomic_set(&fcport->state, FCS_DEVICE_DEAD); 2861 fcport->login_retry = 0;
2862 2862
2863 rval = 3; 2863 rval = 3;
2864 break; 2864 break;