aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 9c383baebe27..49e7b0916364 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -3258,8 +3258,9 @@ qla2x00_find_all_fabric_devs(scsi_qla_host_t *vha,
3258 continue; 3258 continue;
3259 3259
3260 /* Bypass ports whose FCP-4 type is not FCP_SCSI */ 3260 /* Bypass ports whose FCP-4 type is not FCP_SCSI */
3261 if (new_fcport->fc4_type != FC4_TYPE_FCP_SCSI && 3261 if (ql2xgffidenable &&
3262 new_fcport->fc4_type != FC4_TYPE_UNKNOWN) 3262 (new_fcport->fc4_type != FC4_TYPE_FCP_SCSI &&
3263 new_fcport->fc4_type != FC4_TYPE_UNKNOWN))
3263 continue; 3264 continue;
3264 3265
3265 /* Locate matching device in database. */ 3266 /* Locate matching device in database. */