Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348021
b: refs/heads/master
c: 143cdd8
h: refs/heads/master
i:
  348019: 2325d2a
v: v3
  • Loading branch information
Akinobu Mita authored and David S. Miller committed Dec 26, 2012
1 parent 5ff0f06 commit 3b85a0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cf0be88057baceae033a82d669128b282308c742
refs/heads/master: 143cdd8f33909ff5a153e3f02048738c5964ba26
2 changes: 1 addition & 1 deletion trunk/net/batman-adv/bat_iv_ogm.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ batadv_iv_ogm_emit_send_time(const struct batadv_priv *bat_priv)
unsigned int msecs;

msecs = atomic_read(&bat_priv->orig_interval) - BATADV_JITTER;
msecs += (random32() % 2 * BATADV_JITTER);
msecs += random32() % (2 * BATADV_JITTER);

return jiffies + msecs_to_jiffies(msecs);
}
Expand Down

0 comments on commit 3b85a0d

Please sign in to comment.