summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2016-10-13 15:10:39 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-11-08 17:29:51 -0500
commitf7ce413ceac01d502ea4a27c0ba542b57b728e5c (patch)
tree7d2a27b3d6f9f81319e0ee881d4a115f9b4978b6 /drivers/scsi/libfc
parenta0452bb45c6bcf523acff635325fee7dd961c6bd (diff)
downloadlinux-f7ce413ceac01d502ea4a27c0ba542b57b728e5c.tar.bz2
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: Hannes Reinecke <hare@suse.com> Acked-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libfc')
-rw-r--r--drivers/scsi/libfc/fc_exch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c
index 91800cb776ec..99cc5a941997 100644
--- a/drivers/scsi/libfc/fc_exch.c
+++ b/drivers/scsi/libfc/fc_exch.c
@@ -2140,7 +2140,7 @@ static struct fc_seq *fc_exch_seq_send(struct fc_lport *lport,
ep->resp = resp;
ep->destructor = destructor;
ep->arg = arg;
- ep->r_a_tov = FC_DEF_R_A_TOV;
+ ep->r_a_tov = lport->r_a_tov;
ep->lp = lport;
sp = &ep->seq;