Skip to content
Snippets Groups Projects
Commit d67ae206 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
parents 1d9a8a47 7c2500f1
No related branches found
No related tags found
Loading
......@@ -154,7 +154,7 @@ static int ibwdt_set_heartbeat(int t)
return -EINVAL;
for (i = 0x0F; i > -1; i--)
if (wd_times[i] > t)
if (wd_times[i] >= t)
break;
wd_margin = i;
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment