commit | efa786cc43a114d0bf2e4b95e856ea6911404d58 | [log] [tgz] |
---|---|---|
author | Lalit Chandivade <lalit.chandivade@qlogic.com> | Fri Sep 03 14:57:02 2010 -0700 |
committer | James Bottomley <James.Bottomley@suse.de> | Sun Sep 05 15:18:28 2010 -0300 |
tree | cf2ff9e34fc893b0ddf80573d620c67a08181aa0 | |
parent | 970ee0c52a41cf27c1b5c346dd9475e9c236f3c5 [diff] |
[SCSI] qla2xxx: Reset seconds_since_last_heartbeat correctly. 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>