aboutsummaryrefslogtreecommitdiffstats
path: root/net/802/mrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/802/mrp.c')
-rw-r--r--net/802/mrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/802/mrp.c b/net/802/mrp.c
index 3ed616215870..72db2785ef2c 100644
--- a/net/802/mrp.c
+++ b/net/802/mrp.c
@@ -583,7 +583,7 @@ static void mrp_join_timer_arm(struct mrp_applicant *app)
583{ 583{
584 unsigned long delay; 584 unsigned long delay;
585 585
586 delay = (u64)msecs_to_jiffies(mrp_join_time) * net_random() >> 32; 586 delay = (u64)msecs_to_jiffies(mrp_join_time) * prandom_u32() >> 32;
587 mod_timer(&app->join_timer, jiffies + delay); 587 mod_timer(&app->join_timer, jiffies + delay);
588} 588}
589 589