diff options
Diffstat (limited to 'drivers/scsi/iscsi_tcp.c')
-rw-r--r-- | drivers/scsi/iscsi_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c index 0cd78b1d1aaa..579eecfd186e 100644 --- a/drivers/scsi/iscsi_tcp.c +++ b/drivers/scsi/iscsi_tcp.c | |||
@@ -3267,7 +3267,7 @@ iscsi_session_create(struct scsi_transport_template *scsit, | |||
3267 | session = iscsi_hostdata(shost->hostdata); | 3267 | session = iscsi_hostdata(shost->hostdata); |
3268 | memset(session, 0, sizeof(struct iscsi_session)); | 3268 | memset(session, 0, sizeof(struct iscsi_session)); |
3269 | session->host = shost; | 3269 | session->host = shost; |
3270 | session->state = ISCSI_STATE_LOGGED_IN; | 3270 | session->state = ISCSI_STATE_FREE; |
3271 | session->mgmtpool_max = ISCSI_MGMT_CMDS_MAX; | 3271 | session->mgmtpool_max = ISCSI_MGMT_CMDS_MAX; |
3272 | session->cmds_max = ISCSI_XMIT_CMDS_MAX; | 3272 | session->cmds_max = ISCSI_XMIT_CMDS_MAX; |
3273 | session->cmdsn = initial_cmdsn; | 3273 | session->cmdsn = initial_cmdsn; |