aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/qla4xxx/ql4_os.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index 205ecaf5438b..8ed3e2fc1584 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/drivers/scsi/qla4xxx/ql4_os.c
@@ -1142,8 +1142,12 @@ static int qla4xxx_conn_start(struct iscsi_cls_conn *cls_conn)
1142 */ 1142 */
1143 if (mbx_sts) 1143 if (mbx_sts)
1144 if (ddb_entry->fw_ddb_device_state == 1144 if (ddb_entry->fw_ddb_device_state ==
1145 DDB_DS_SESSION_ACTIVE) 1145 DDB_DS_SESSION_ACTIVE) {
1146 iscsi_conn_start(ddb_entry->conn);
1147 iscsi_conn_login_event(ddb_entry->conn,
1148 ISCSI_CONN_STATE_LOGGED_IN);
1146 goto exit_set_param; 1149 goto exit_set_param;
1150 }
1147 1151
1148 ql4_printk(KERN_ERR, ha, "%s: Failed set param for index[%d]\n", 1152 ql4_printk(KERN_ERR, ha, "%s: Failed set param for index[%d]\n",
1149 __func__, ddb_entry->fw_ddb_index); 1153 __func__, ddb_entry->fw_ddb_index);