diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2012-03-01 02:35:20 -0500 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-05-11 04:08:13 -0400 |
commit | 0b0094e000840115b5baece2293c5fb1aab4fded (patch) | |
tree | de0179b4d859a31deb00d9d8ed2860f422313ee7 /net/batman-adv/send.c | |
parent | d7b2a97e03ad40c7986d3c2707b0b5ba79a63884 (diff) |
batman-adv: replace HZ calculations with jiffies_to_msecs()
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Acked-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/send.c')
-rw-r--r-- | net/batman-adv/send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/send.c b/net/batman-adv/send.c index 7c66b6121fa6..8e74d9763be3 100644 --- a/net/batman-adv/send.c +++ b/net/batman-adv/send.c | |||
@@ -292,7 +292,7 @@ static void send_outstanding_bcast_packet(struct work_struct *work) | |||
292 | /* if we still have some more bcasts to send */ | 292 | /* if we still have some more bcasts to send */ |
293 | if (forw_packet->num_packets < 3) { | 293 | if (forw_packet->num_packets < 3) { |
294 | _add_bcast_packet_to_list(bat_priv, forw_packet, | 294 | _add_bcast_packet_to_list(bat_priv, forw_packet, |
295 | ((5 * HZ) / 1000)); | 295 | msecs_to_jiffies(5)); |
296 | return; | 296 | return; |
297 | } | 297 | } |
298 | 298 | ||