diff options
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 33e924810666..a7abc1035481 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -1538,7 +1538,7 @@ qla2x00_set_model_info(scsi_qla_host_t *vha, uint8_t *model, size_t len, | |||
1538 | char *st, *en; | 1538 | char *st, *en; |
1539 | uint16_t index; | 1539 | uint16_t index; |
1540 | struct qla_hw_data *ha = vha->hw; | 1540 | struct qla_hw_data *ha = vha->hw; |
1541 | int use_tbl = !IS_QLA25XX(ha) && IS_QLA81XX(ha); | 1541 | int use_tbl = !IS_QLA25XX(ha) && !IS_QLA81XX(ha); |
1542 | 1542 | ||
1543 | if (memcmp(model, BINZERO, len) != 0) { | 1543 | if (memcmp(model, BINZERO, len) != 0) { |
1544 | strncpy(ha->model_number, model, len); | 1544 | strncpy(ha->model_number, model, len); |