mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
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: Varun Prakash <varun@chelsio.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
parent
c0b7373be8
commit
864e504ae2
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue