diff options
author | Joe Carnuccio <joe.carnuccio@qlogic.com> | 2012-11-21 07:40:38 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-11-30 15:12:52 (GMT) |
commit | 1f93da52a2ef86d3918223bc752f630411e87ca3 (patch) | |
tree | 038be4ba27b102c28acaadbeab4c3925a54623ee /drivers | |
parent | 4ea2c9c7b32f808cb2743f2e349a614aa3a46088 (diff) | |
download | linux-1f93da52a2ef86d3918223bc752f630411e87ca3.tar.xz |
[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')
-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 7464a47..1b5f40d 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) fcport->login_retry = 0; fcport->flags &= ~(FCF_LOGIN_NEEDED | FCF_ASYNC_SENT); + qla2x00_set_fcport_state(fcport, FCS_ONLINE); qla2x00_iidma_fcport(vha, fcport); qla24xx_update_fcport_fcp_prio(vha, fcport); qla2x00_reg_remote_port(vha, fcport); - qla2x00_set_fcport_state(fcport, FCS_ONLINE); } /* |