Commit d67ae206 authored by Linus Torvalds's avatar Linus Torvalds
parents 1d9a8a47 7c2500f1
...@@ -154,7 +154,7 @@ static int ibwdt_set_heartbeat(int t) ...@@ -154,7 +154,7 @@ static int ibwdt_set_heartbeat(int t)
return -EINVAL; return -EINVAL;
for (i = 0x0F; i > -1; i--) for (i = 0x0F; i > -1; i--)
if (wd_times[i] > t) if (wd_times[i] >= t)
break; break;
wd_margin = i; wd_margin = i;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment