diff options
-rw-r--r-- | drivers/scsi/fcoe/libfcoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fcoe/libfcoe.c b/drivers/scsi/fcoe/libfcoe.c index 2c265fe9ab32..aa503d83092a 100644 --- a/drivers/scsi/fcoe/libfcoe.c +++ b/drivers/scsi/fcoe/libfcoe.c | |||
@@ -845,7 +845,7 @@ static int fcoe_ctlr_parse_adv(struct fcoe_ctlr *fip, | |||
845 | } | 845 | } |
846 | if (!fcf->fc_map || (fcf->fc_map & 0x10000)) | 846 | if (!fcf->fc_map || (fcf->fc_map & 0x10000)) |
847 | return -EINVAL; | 847 | return -EINVAL; |
848 | if (!fcf->switch_name || !fcf->fabric_name) | 848 | if (!fcf->switch_name) |
849 | return -EINVAL; | 849 | return -EINVAL; |
850 | if (desc_mask) { | 850 | if (desc_mask) { |
851 | LIBFCOE_FIP_DBG(fip, "adv missing descriptors mask %x\n", | 851 | LIBFCOE_FIP_DBG(fip, "adv missing descriptors mask %x\n", |