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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 7e53814daaa5..dbf64bb1f3db 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -2119,7 +2119,7 @@ qla2x00_iidma_fcport(scsi_qla_host_t *ha, fc_port_t *fcport)
2119 int rval; 2119 int rval;
2120 uint16_t port_speed, mb[6]; 2120 uint16_t port_speed, mb[6];
2121 2121
2122 if (!IS_QLA24XX(ha)) 2122 if (!IS_IIDMA_CAPABLE(ha))
2123 return; 2123 return;
2124 2124
2125 switch (be16_to_cpu(fcport->fp_speed)) { 2125 switch (be16_to_cpu(fcport->fp_speed)) {