Commit f7ce413c authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Martin K. Petersen

scsi: libfc: use configured lport R_A_TOV

We should be using the configured R_A_TOV value when sending the
exchange.
Signed-off-by: default avatarHannes Reinecke <hare@suse.com>
Acked-by: default avatarJohannes Thumshirn <jth@kernel.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent a0452bb4
...@@ -2140,7 +2140,7 @@ static struct fc_seq *fc_exch_seq_send(struct fc_lport *lport, ...@@ -2140,7 +2140,7 @@ static struct fc_seq *fc_exch_seq_send(struct fc_lport *lport,
ep->resp = resp; ep->resp = resp;
ep->destructor = destructor; ep->destructor = destructor;
ep->arg = arg; ep->arg = arg;
ep->r_a_tov = FC_DEF_R_A_TOV; ep->r_a_tov = lport->r_a_tov;
ep->lp = lport; ep->lp = lport;
sp = &ep->seq; sp = &ep->seq;
......
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