projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0452bb
)
scsi: libfc: use configured lport R_A_TOV
author
Hannes Reinecke
<hare@suse.de>
Thu, 13 Oct 2016 13:10:39 +0000
(15:10 +0200)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:51 +0000
(17:29 -0500)
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>
drivers/scsi/libfc/fc_exch.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/libfc/fc_exch.c
b/drivers/scsi/libfc/fc_exch.c
index
91800cb
..
99cc5a9
100644
(file)
--- 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;