batman-adv: add per VLAN interface attribute framework
[firefly-linux-kernel-4.4.55.git] / net / batman-adv / hard-interface.c
index d564af295db438a399ef5eac70844e34e1aced21..c5f871f218c6af16f0c7978d5d531f5a4ac1ec3e 100644 (file)
@@ -643,6 +643,8 @@ static int batadv_hard_if_event(struct notifier_block *this,
 
        if (batadv_softif_is_valid(net_dev) && event == NETDEV_REGISTER) {
                batadv_sysfs_add_meshif(net_dev);
+               bat_priv = netdev_priv(net_dev);
+               batadv_softif_create_vlan(bat_priv, BATADV_NO_FLAGS);
                return NOTIFY_DONE;
        }