diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_sup.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_sup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_sup.c b/drivers/scsi/qla2xxx/qla_sup.c index 81187a0246cd..2a9b3f83ba67 100644 --- a/drivers/scsi/qla2xxx/qla_sup.c +++ b/drivers/scsi/qla2xxx/qla_sup.c | |||
@@ -920,6 +920,7 @@ qla2xxx_flash_npiv_conf(scsi_qla_host_t *vha) | |||
920 | 920 | ||
921 | entry = data + sizeof(struct qla_npiv_header); | 921 | entry = data + sizeof(struct qla_npiv_header); |
922 | cnt = le16_to_cpu(hdr.entries); | 922 | cnt = le16_to_cpu(hdr.entries); |
923 | ha->flex_port_count = cnt; | ||
923 | for (i = 0; cnt; cnt--, entry++, i++) { | 924 | for (i = 0; cnt; cnt--, entry++, i++) { |
924 | uint16_t flags; | 925 | uint16_t flags; |
925 | struct fc_vport_identifiers vid; | 926 | struct fc_vport_identifiers vid; |