From: Linus Lüssing Date: Sat, 2 Jan 2010 10:30:42 +0000 (+0100) Subject: Staging: batman-adv: Fixes rounding issues in vis.c X-Git-Tag: v2.6.34-rc1~10^2~1^2~273 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bbf1ecdb36e2395eecbf04229eaaedce3589db5;p=pandora-kernel.git Staging: batman-adv: Fixes rounding issues in vis.c This patches fixes two rounding issues in vis.c for sending and purging vis packets. Before, the timers and timeouts always got rounded down to seconds, though we want a precision in milliseconds. This also fixes a kernel panic that occures when lowering the timer for sending vis packets (vis_interval) to less than 1000ms in main.c manually. Signed-off-by: Linus Lüssing Acked-by: Marek Lindner Signed-off-by: Andrew Lunn Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed