diff options
-rw-r--r-- | drivers/scsi/be2iscsi/be_iscsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/be2iscsi/be_iscsi.c b/drivers/scsi/be2iscsi/be_iscsi.c index cd1b8301036d..4f3c2a4079df 100644 --- a/drivers/scsi/be2iscsi/be_iscsi.c +++ b/drivers/scsi/be2iscsi/be_iscsi.c | |||
@@ -580,9 +580,9 @@ beiscsi_ep_connect(struct Scsi_Host *shost, struct sockaddr *dst_addr, | |||
580 | beiscsi_ep = ep->dd_data; | 580 | beiscsi_ep = ep->dd_data; |
581 | beiscsi_ep->phba = phba; | 581 | beiscsi_ep->phba = phba; |
582 | beiscsi_ep->openiscsi_ep = ep; | 582 | beiscsi_ep->openiscsi_ep = ep; |
583 | if (beiscsi_open_conn(ep, NULL, dst_addr, non_blocking)) { | 583 | ret = beiscsi_open_conn(ep, NULL, dst_addr, non_blocking); |
584 | if (ret) { | ||
584 | SE_DEBUG(DBG_LVL_1, "Failed in beiscsi_open_conn\n"); | 585 | SE_DEBUG(DBG_LVL_1, "Failed in beiscsi_open_conn\n"); |
585 | ret = -ENOMEM; | ||
586 | goto free_ep; | 586 | goto free_ep; |
587 | } | 587 | } |
588 | 588 | ||