diff options
author | Antonio Quartulli <ordex@autistici.org> | 2011-06-25 13:09:12 -0400 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-07-05 08:28:54 -0400 |
commit | 8698529d209c43f6434592caf38733b84ccab5f3 (patch) | |
tree | 1ae000c69db75b4b1ce89d71c1b3c93121faab92 /net/batman-adv/routing.c | |
parent | 5fbc1598c28555d2aa44bff0ac56ec3739401aff (diff) |
batman-adv: add_bcast_packet_to_list() takes the sending delay as parameter
In order to make possible to use the broadcast list for delayed sendings
the "delay" parameter is now provided instead of using 1 as hardcoded
value.
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/routing.c')
-rw-r--r-- | net/batman-adv/routing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c index 0ce090c9fe86..2cb98bed1586 100644 --- a/net/batman-adv/routing.c +++ b/net/batman-adv/routing.c | |||
@@ -1677,7 +1677,7 @@ int recv_bcast_packet(struct sk_buff *skb, struct hard_iface *recv_if) | |||
1677 | spin_unlock_bh(&orig_node->bcast_seqno_lock); | 1677 | spin_unlock_bh(&orig_node->bcast_seqno_lock); |
1678 | 1678 | ||
1679 | /* rebroadcast packet */ | 1679 | /* rebroadcast packet */ |
1680 | add_bcast_packet_to_list(bat_priv, skb); | 1680 | add_bcast_packet_to_list(bat_priv, skb, 1); |
1681 | 1681 | ||
1682 | /* broadcast for me */ | 1682 | /* broadcast for me */ |
1683 | interface_rx(recv_if->soft_iface, skb, recv_if, hdr_size); | 1683 | interface_rx(recv_if->soft_iface, skb, recv_if, hdr_size); |