aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/fcoe/fcoe_ctlr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/fcoe/fcoe_ctlr.c b/drivers/scsi/fcoe/fcoe_ctlr.c
index ceb35ebbeb8f..ffec695e0bfb 100644
--- a/drivers/scsi/fcoe/fcoe_ctlr.c
+++ b/drivers/scsi/fcoe/fcoe_ctlr.c
@@ -754,9 +754,9 @@ int fcoe_ctlr_els_send(struct fcoe_ctlr *fip, struct fc_lport *lport,
754 case ELS_LOGO: 754 case ELS_LOGO:
755 if (fip->mode == FIP_MODE_VN2VN) { 755 if (fip->mode == FIP_MODE_VN2VN) {
756 if (fip->state != FIP_ST_VNMP_UP) 756 if (fip->state != FIP_ST_VNMP_UP)
757 return -EINVAL; 757 goto drop;
758 if (ntoh24(fh->fh_d_id) == FC_FID_FLOGI) 758 if (ntoh24(fh->fh_d_id) == FC_FID_FLOGI)
759 return -EINVAL; 759 goto drop;
760 } else { 760 } else {
761 if (fip->state != FIP_ST_ENABLED) 761 if (fip->state != FIP_ST_ENABLED)
762 return 0; 762 return 0;