diff options
Diffstat (limited to 'drivers/scsi/qla4xxx')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_os.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index ce6d3b7f0c61..2bd9f1dfb6a3 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c | |||
@@ -1552,6 +1552,8 @@ static void qla4xxx_copy_fwddb_param(struct scsi_qla_host *ha, | |||
1552 | (char *)ha->name_string, buflen); | 1552 | (char *)ha->name_string, buflen); |
1553 | iscsi_set_param(cls_conn, ISCSI_PARAM_PERSISTENT_ADDRESS, | 1553 | iscsi_set_param(cls_conn, ISCSI_PARAM_PERSISTENT_ADDRESS, |
1554 | (char *)ip_addr, buflen); | 1554 | (char *)ip_addr, buflen); |
1555 | iscsi_set_param(cls_conn, ISCSI_PARAM_TARGET_ALIAS, | ||
1556 | (char *)fw_ddb_entry->iscsi_alias, buflen); | ||
1555 | } | 1557 | } |
1556 | 1558 | ||
1557 | void qla4xxx_update_session_conn_fwddb_param(struct scsi_qla_host *ha, | 1559 | void qla4xxx_update_session_conn_fwddb_param(struct scsi_qla_host *ha, |
@@ -1666,6 +1668,9 @@ void qla4xxx_update_session_conn_param(struct scsi_qla_host *ha, | |||
1666 | memcpy(sess->initiatorname, ha->name_string, | 1668 | memcpy(sess->initiatorname, ha->name_string, |
1667 | min(sizeof(ha->name_string), sizeof(sess->initiatorname))); | 1669 | min(sizeof(ha->name_string), sizeof(sess->initiatorname))); |
1668 | 1670 | ||
1671 | iscsi_set_param(cls_conn, ISCSI_PARAM_TARGET_ALIAS, | ||
1672 | (char *)fw_ddb_entry->iscsi_alias, 0); | ||
1673 | |||
1669 | exit_session_conn_param: | 1674 | exit_session_conn_param: |
1670 | if (fw_ddb_entry) | 1675 | if (fw_ddb_entry) |
1671 | dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), | 1676 | dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), |