diff options
-rw-r--r-- | drivers/scsi/qla2xxx/qla_isr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index e51fc5f9fcdb..8a608725eb76 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -1133,9 +1133,9 @@ qla24xx_logio_entry(scsi_qla_host_t *vha, struct req_que *req, | |||
1133 | fcport->port_type = FCT_TARGET; | 1133 | fcport->port_type = FCT_TARGET; |
1134 | if (iop[0] & BIT_8) | 1134 | if (iop[0] & BIT_8) |
1135 | fcport->flags |= FCF_FCP2_DEVICE; | 1135 | fcport->flags |= FCF_FCP2_DEVICE; |
1136 | } | 1136 | } else if (iop[0] & BIT_5) |
1137 | if (iop[0] & BIT_5) | ||
1138 | fcport->port_type = FCT_INITIATOR; | 1137 | fcport->port_type = FCT_INITIATOR; |
1138 | |||
1139 | if (logio->io_parameter[7] || logio->io_parameter[8]) | 1139 | if (logio->io_parameter[7] || logio->io_parameter[8]) |
1140 | fcport->supported_classes |= FC_COS_CLASS2; | 1140 | fcport->supported_classes |= FC_COS_CLASS2; |
1141 | if (logio->io_parameter[9] || logio->io_parameter[10]) | 1141 | if (logio->io_parameter[9] || logio->io_parameter[10]) |