summaryrefslogtreecommitdiffstats
path: root/src/proto
diff options
context:
space:
mode:
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/iscsi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/proto/iscsi.c b/src/proto/iscsi.c
index 40e48e115..1a808b006 100644
--- a/src/proto/iscsi.c
+++ b/src/proto/iscsi.c
@@ -544,8 +544,7 @@ void iscsi_wakeup ( struct iscsi_session *iscsi ) {
switch ( iscsi->state ) {
case ISCSI_STATE_NOT_CONNECTED:
case ISCSI_STATE_FAILED:
- if ( tcp_connect ( &iscsi->tcp ) != 0 )
- iscsi_fail ( iscsi );
+ tcp_connect ( &iscsi->tcp );
iscsi_start_login ( iscsi );
break;
case ISCSI_STATE_IDLE: