[SCSI] qla2xxx: Reset seconds_since_last_heartbeat correctly.
authorLalit Chandivade <lalit.chandivade@qlogic.com>
Fri, 3 Sep 2010 21:57:02 +0000 (14:57 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 5 Sep 2010 18:18:28 +0000 (15:18 -0300)
The seconds_since_last_heartbeat should be checked for consecutive
heartbeat checks. Currently it could happen that seconds_since_last_heartbeat
gets set to max (2 seconds) for non-consecutive heartbeat checks.

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found