aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_mbx.c
diff options
context:
space:
mode:
authorRavi Anand <ravi.anand@qlogic.com>2005-11-08 17:37:20 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2005-11-09 16:18:27 -0500
commit33135aa2a568ec1a30e734f18e5315e10516e4f3 (patch)
treea039e0eb265bfd8b4bcb56d4c912c6e111071fa3 /drivers/scsi/qla2xxx/qla_mbx.c
parentdcb36ce9d9100eb821c6ea314b02f215cbdd8aca (diff)
[SCSI] qla2xxx: Correct loop-in-transition issues
When mulitple initiators are coming up in an FCAL topology. Signed-off-by: Ravi Anand <ravi.anand@qlogic.com> Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mbx.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_mbx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c
index ad3cacb9192d..0e963bf9c568 100644
--- a/drivers/scsi/qla2xxx/qla_mbx.c
+++ b/drivers/scsi/qla2xxx/qla_mbx.c
@@ -1008,6 +1008,8 @@ qla2x00_get_adapter_id(scsi_qla_host_t *ha, uint16_t *id, uint8_t *al_pa,
1008 mcp->tov = 30; 1008 mcp->tov = 30;
1009 mcp->flags = 0; 1009 mcp->flags = 0;
1010 rval = qla2x00_mailbox_command(ha, mcp); 1010 rval = qla2x00_mailbox_command(ha, mcp);
1011 if (mcp->mb[0] == MBS_COMMAND_ERROR)
1012 rval = QLA_COMMAND_ERROR;
1011 1013
1012 /* Return data. */ 1014 /* Return data. */
1013 *id = mcp->mb[1]; 1015 *id = mcp->mb[1];