diff options
author | Marek Lindner <mareklindner@neomailbox.ch> | 2015-08-09 23:56:50 +0800 |
---|---|---|
committer | Antonio Quartulli <a@unstable.cc> | 2016-01-09 20:56:00 +0800 |
commit | 143d157c9ecfa09ed777bf33635eb27fabce3e0a (patch) | |
tree | 167648a6074a1de245dd0dd30b05a7f5798c27a7 /net/batman-adv/bat_iv_ogm.c | |
parent | 008a374487070a391c12aa39288fd8511f822cab (diff) | |
download | linux-143d157c9ecfa09ed777bf33635eb27fabce3e0a.tar.gz linux-143d157c9ecfa09ed777bf33635eb27fabce3e0a.tar.bz2 linux-143d157c9ecfa09ed777bf33635eb27fabce3e0a.zip |
batman-adv: remove leftovers of unused BATADV_PRIMARIES_FIRST_HOP flag
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Diffstat (limited to 'net/batman-adv/bat_iv_ogm.c')
-rw-r--r-- | net/batman-adv/bat_iv_ogm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/batman-adv/bat_iv_ogm.c b/net/batman-adv/bat_iv_ogm.c index 5677169c1b98..246702486228 100644 --- a/net/batman-adv/bat_iv_ogm.c +++ b/net/batman-adv/bat_iv_ogm.c @@ -361,7 +361,6 @@ batadv_iv_ogm_primary_iface_set(struct batadv_hard_iface *hard_iface) unsigned char *ogm_buff = hard_iface->bat_iv.ogm_buff; batadv_ogm_packet = (struct batadv_ogm_packet *)ogm_buff; - batadv_ogm_packet->flags = BATADV_PRIMARIES_FIRST_HOP; batadv_ogm_packet->ttl = BATADV_TTL; } @@ -842,8 +841,6 @@ static void batadv_iv_ogm_forward(struct batadv_orig_node *orig_node, "Forwarding packet: tq: %i, ttl: %i\n", batadv_ogm_packet->tq, batadv_ogm_packet->ttl); - /* switch of primaries first hop flag when forwarding */ - batadv_ogm_packet->flags &= ~BATADV_PRIMARIES_FIRST_HOP; if (is_single_hop_neigh) batadv_ogm_packet->flags |= BATADV_DIRECTLINK; else |