diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2012-03-01 08:35:20 +0100 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-05-11 10:08:13 +0200 |
commit | 0b0094e000840115b5baece2293c5fb1aab4fded (patch) | |
tree | de0179b4d859a31deb00d9d8ed2860f422313ee7 /net/batman-adv/send.c | |
parent | batman-adv: rename last_valid to last_seen (diff) | |
download | linux-0b0094e000840115b5baece2293c5fb1aab4fded.tar.xz linux-0b0094e000840115b5baece2293c5fb1aab4fded.zip |
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) /* if we still have some more bcasts to send */ if (forw_packet->num_packets < 3) { _add_bcast_packet_to_list(bat_priv, forw_packet, - ((5 * HZ) / 1000)); + msecs_to_jiffies(5)); return; } |