summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/send.c
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2012-03-01 15:35:20 +0800
committerAntonio Quartulli <ordex@autistici.org>2012-05-11 10:08:13 +0200
commit0b0094e000840115b5baece2293c5fb1aab4fded (patch)
treede0179b4d859a31deb00d9d8ed2860f422313ee7 /net/batman-adv/send.c
parentd7b2a97e03ad40c7986d3c2707b0b5ba79a63884 (diff)
downloadop-kernel-dev-0b0094e000840115b5baece2293c5fb1aab4fded.zip
op-kernel-dev-0b0094e000840115b5baece2293c5fb1aab4fded.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/send.c b/net/batman-adv/send.c
index 7c66b61..8e74d97 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;
}
OpenPOWER on IntegriCloud