提交 864e504a 编写于 作者: V Varun Prakash 提交者: Nicholas Bellinger

iscsi-target: use conn_transport->transport_type in text rsp

Use conn_transport->transport_type instead of
ISCSI_TCP to build text response.
Signed-off-by: NVarun Prakash <varun@chelsio.com>
Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
上级 c0b7373b
......@@ -3513,7 +3513,8 @@ static int iscsit_send_text_rsp(
struct iscsi_text_rsp *hdr = (struct iscsi_text_rsp *)cmd->pdu;
int text_length;
text_length = iscsit_build_text_rsp(cmd, conn, hdr, ISCSI_TCP);
text_length = iscsit_build_text_rsp(cmd, conn, hdr,
conn->conn_transport->transport_type);
if (text_length < 0)
return text_length;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册