aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe
diff options
context:
space:
mode:
authorVasu Dev <vasu.dev@intel.com>2010-07-20 18:21:33 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-07-28 10:06:04 -0400
commit240778e821f596a6954116107c5cc3456df84f81 (patch)
treeef2d2bd8f28aa0f8e5acc1af76250aa702f2463b /drivers/scsi/fcoe
parent7f985231d274ef3e6e4d56a2939a534906299021 (diff)
[SCSI] fcoe: remove check for zero fabric name
This check prevents FCF selection in NPV mode due to zero fabric name in that case and in turn flogi fails. Though NPV mode should not have this zero and should be fixed there also but spec also does not require initiator to ensure that fabric name must be non-zero, therefore dropping this check to get flogi working in NPV mode. Signed-off-by: Vasu Dev <vasu.dev@intel.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/fcoe')
-rw-r--r--drivers/scsi/fcoe/libfcoe.c2
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",