[WATCHDOG] hpwdt - fix lower timeout limit
[Novell Bug 581103] HP Watchdog driver has arbitrary (wrong) timeout limits. Fix the lower timeout limit to a more appropriate value. Signed-off-by: Thomas Mingarelli <Thomas.Mingarelli@hp.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be> Cc: stable <stable@kernel.org>
This commit is contained in:
parent
4c7d849204
commit
8ba42bd88c
@ -443,7 +443,7 @@ static void hpwdt_ping(void)
|
||||
static int hpwdt_change_timer(int new_margin)
|
||||
{
|
||||
/* Arbitrary, can't find the card's limits */
|
||||
if (new_margin < 30 || new_margin > 600) {
|
||||
if (new_margin < 5 || new_margin > 600) {
|
||||
printk(KERN_WARNING
|
||||
"hpwdt: New value passed in is invalid: %d seconds.\n",
|
||||
new_margin);
|
||||
|
Loading…
Reference in New Issue
Block a user