[SCSI] qla2xxx: Move marking fcport online ahead of setting iiDMA speed.
authorJoe Carnuccio <joe.carnuccio@qlogic.com>
Wed, 21 Nov 2012 07:40:38 +0000 (02:40 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 30 Nov 2012 15:12:52 +0000 (15:12 +0000)
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>
drivers/scsi/qla2xxx/qla_init.c

index 7464a4731ef617c973d9fd04707f33ed83087c53..1b5f40d0a2a116d641f84060977256375e7399fa 100644 (file)
@@ -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);
 }
 
 /*
This page took 0.030039 seconds and 5 git commands to generate.