diff options
-rw-r--r-- | drivers/scsi/libfc/fc_rport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c index b9f2286fe0cb..a84ef13ed74a 100644 --- a/drivers/scsi/libfc/fc_rport.c +++ b/drivers/scsi/libfc/fc_rport.c | |||
@@ -196,9 +196,9 @@ static const char *fc_rport_state(struct fc_rport_priv *rdata) | |||
196 | void fc_set_rport_loss_tmo(struct fc_rport *rport, u32 timeout) | 196 | void fc_set_rport_loss_tmo(struct fc_rport *rport, u32 timeout) |
197 | { | 197 | { |
198 | if (timeout) | 198 | if (timeout) |
199 | rport->dev_loss_tmo = timeout + 5; | 199 | rport->dev_loss_tmo = timeout; |
200 | else | 200 | else |
201 | rport->dev_loss_tmo = 30; | 201 | rport->dev_loss_tmo = 1; |
202 | } | 202 | } |
203 | EXPORT_SYMBOL(fc_set_rport_loss_tmo); | 203 | EXPORT_SYMBOL(fc_set_rport_loss_tmo); |
204 | 204 | ||