Commit 2e7a7426 authored by Erez Zilber's avatar Erez Zilber Committed by Roland Dreier

IB/iser: Start connection after enabling iSER

When a connection is started (a new connection or a recovered one),
iSER should prepare its resources for full-featured mode and only then
notify the iSCSI layer that it is ready to start queueing commands.
Signed-off-by: default avatarErez Zilber <erezz@voltaire.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent ae99a78a
......@@ -363,11 +363,11 @@ iscsi_iser_conn_start(struct iscsi_cls_conn *cls_conn)
struct iscsi_conn *conn = cls_conn->dd_data;
int err;
err = iscsi_conn_start(cls_conn);
err = iser_conn_set_full_featured_mode(conn);
if (err)
return err;
return iser_conn_set_full_featured_mode(conn);
return iscsi_conn_start(cls_conn);
}
static struct iscsi_transport iscsi_iser_transport;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment