batman-adv: split hard_iface struct for each routing protocol
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
This commit is contained in:

committed by
Antonio Quartulli

parent
d48ddb8366
commit
14511519d4
@@ -450,8 +450,8 @@ batadv_hardif_add_interface(struct net_device *net_dev)
|
||||
/* This can't be called via a bat_priv callback because
|
||||
* we have no bat_priv yet.
|
||||
*/
|
||||
atomic_set(&hard_iface->seqno, 1);
|
||||
hard_iface->packet_buff = NULL;
|
||||
atomic_set(&hard_iface->bat_iv.ogm_seqno, 1);
|
||||
hard_iface->bat_iv.ogm_buff = NULL;
|
||||
|
||||
return hard_iface;
|
||||
|
||||
|
Reference in New Issue
Block a user