diff options
author | Joe Carnuccio <joe.carnuccio@qlogic.com> | 2012-11-21 02:40:38 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-11-30 10:12:52 -0500 |
commit | 1f93da52a2ef86d3918223bc752f630411e87ca3 (patch) | |
tree | 038be4ba27b102c28acaadbeab4c3925a54623ee /drivers/scsi/qla2xxx | |
parent | 4ea2c9c7b32f808cb2743f2e349a614aa3a46088 (diff) |
[SCSI] qla2xxx: Move marking fcport online ahead of setting iiDMA speed.
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 7464a4731ef6..1b5f40d0a2a1 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -3083,10 +3083,10 @@ qla2x00_update_fcport(scsi_qla_host_t *vha, fc_port_t *fcport) | |||
3083 | fcport->login_retry = 0; | 3083 | fcport->login_retry = 0; |
3084 | fcport->flags &= ~(FCF_LOGIN_NEEDED | FCF_ASYNC_SENT); | 3084 | fcport->flags &= ~(FCF_LOGIN_NEEDED | FCF_ASYNC_SENT); |
3085 | 3085 | ||
3086 | qla2x00_set_fcport_state(fcport, FCS_ONLINE); | ||
3086 | qla2x00_iidma_fcport(vha, fcport); | 3087 | qla2x00_iidma_fcport(vha, fcport); |
3087 | qla24xx_update_fcport_fcp_prio(vha, fcport); | 3088 | qla24xx_update_fcport_fcp_prio(vha, fcport); |
3088 | qla2x00_reg_remote_port(vha, fcport); | 3089 | qla2x00_reg_remote_port(vha, fcport); |
3089 | qla2x00_set_fcport_state(fcport, FCS_ONLINE); | ||
3090 | } | 3090 | } |
3091 | 3091 | ||
3092 | /* | 3092 | /* |