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 aa20adc79f02..33534f686434 100644 --- a/drivers/scsi/iscsi_tcp.c +++ b/drivers/scsi/iscsi_tcp.c | |||
@@ -885,7 +885,7 @@ more: | |||
885 | } | 885 | } |
886 | tcp_conn->in_progress = IN_PROGRESS_DATA_RECV; | 886 | tcp_conn->in_progress = IN_PROGRESS_DATA_RECV; |
887 | } else if (rc) { | 887 | } else if (rc) { |
888 | iscsi_conn_failure(conn, ISCSI_ERR_CONN_FAILED); | 888 | iscsi_conn_failure(conn, rc); |
889 | return 0; | 889 | return 0; |
890 | } | 890 | } |
891 | } | 891 | } |