diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gs.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c index 750d7ef83aae..4cb80b476c85 100644 --- a/drivers/scsi/qla2xxx/qla_gs.c +++ b/drivers/scsi/qla2xxx/qla_gs.c | |||
@@ -1583,8 +1583,8 @@ qla2x00_fdmi_rpa(scsi_qla_host_t *ha) | |||
1583 | eiter->type = __constant_cpu_to_be16(FDMI_PORT_MAX_FRAME_SIZE); | 1583 | eiter->type = __constant_cpu_to_be16(FDMI_PORT_MAX_FRAME_SIZE); |
1584 | eiter->len = __constant_cpu_to_be16(4 + 4); | 1584 | eiter->len = __constant_cpu_to_be16(4 + 4); |
1585 | max_frame_size = IS_FWI2_CAPABLE(ha) ? | 1585 | max_frame_size = IS_FWI2_CAPABLE(ha) ? |
1586 | (uint32_t) icb24->frame_payload_size: | 1586 | le16_to_cpu(icb24->frame_payload_size): |
1587 | (uint32_t) ha->init_cb->frame_payload_size; | 1587 | le16_to_cpu(ha->init_cb->frame_payload_size); |
1588 | eiter->a.max_frame_size = cpu_to_be32(max_frame_size); | 1588 | eiter->a.max_frame_size = cpu_to_be32(max_frame_size); |
1589 | size += 4 + 4; | 1589 | size += 4 + 4; |
1590 | 1590 | ||