watchdog: lantiq: fix watchdogs timeout handling
authorJohn Crispin <blogic@openwrt.org>
Wed, 24 Aug 2011 08:31:39 +0000 (10:31 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 20 Sep 2011 12:28:24 +0000 (14:28 +0200)
The enable function was using the global timeout variable for local operations.
This resulted in the value of the global variable being corrupted, thus
breaking the code.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: linux-watchdog@vger.kernel.org
Cc: linux-mips@linux-mips.org

No differences found