watchdog: update watchdog_timeout with the closest timeout found by the driver
authorFranck Bui <fbui@suse.com>
Mon, 6 Sep 2021 10:12:45 +0000 (12:12 +0200)
committerFranck Bui <fbui@suse.com>
Wed, 15 Sep 2021 09:32:10 +0000 (11:32 +0200)
commit564096795eb385c8216cb67c0fe894edccc39dde
tree5c836e73ee4df0a3cd3f14bd0da39d51102d87e8
parent2628b98f0ca511a0d454940399aeaae156d16eeb
watchdog: update watchdog_timeout with the closest timeout found by the driver

Store the actual timeout value found by the driver in watchdog_timeout since
this value is more accurate for calculating the next time for pinging the
device.
src/shared/watchdog.c