lpfc: Initiator sends wrong BBCredit value for either FLOGI or FLOGI_ACC
authorJames Smart <james.smart@emulex.com>
Tue, 7 Apr 2015 19:07:21 +0000 (15:07 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 10 Apr 2015 14:49:23 +0000 (07:49 -0700)
Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/lpfc/lpfc_els.c

index 9f3c74e07a63d1f996d3f8b00600b91b36a66458..f73d58c8fec34c73ac71267dd1d220fc3e8d0d1d 100644 (file)
@@ -5197,7 +5197,6 @@ lpfc_els_rcv_flogi(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb,
                port_state = vport->port_state;
                vport->fc_flag |= FC_PT2PT;
                vport->fc_flag &= ~(FC_FABRIC | FC_PUBLIC_LOOP);
-               vport->port_state = LPFC_FLOGI;
                spin_unlock_irq(shost->host_lock);
                lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS,
                                 "3311 Rcv Flogi PS x%x new PS x%x "