Commit 864e504a authored by Varun Prakash's avatar Varun Prakash Committed by 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: default avatarVarun Prakash <varun@chelsio.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent c0b7373b
...@@ -3513,7 +3513,8 @@ static int iscsit_send_text_rsp( ...@@ -3513,7 +3513,8 @@ static int iscsit_send_text_rsp(
struct iscsi_text_rsp *hdr = (struct iscsi_text_rsp *)cmd->pdu; struct iscsi_text_rsp *hdr = (struct iscsi_text_rsp *)cmd->pdu;
int text_length; 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) if (text_length < 0)
return text_length; return text_length;
......
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