diff options
Diffstat (limited to 'net/batman-adv/soft-interface.c')
-rw-r--r-- | net/batman-adv/soft-interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c index c288d937a154..3371ece680a2 100644 --- a/net/batman-adv/soft-interface.c +++ b/net/batman-adv/soft-interface.c | |||
@@ -534,7 +534,7 @@ static int interface_set_mac_addr(struct net_device *dev, void *p) | |||
534 | /* only modify transtable if it has been initialised before */ | 534 | /* only modify transtable if it has been initialised before */ |
535 | if (atomic_read(&bat_priv->mesh_state) == MESH_ACTIVE) { | 535 | if (atomic_read(&bat_priv->mesh_state) == MESH_ACTIVE) { |
536 | tt_local_remove(bat_priv, dev->dev_addr, | 536 | tt_local_remove(bat_priv, dev->dev_addr, |
537 | "mac address changed"); | 537 | "mac address changed", false); |
538 | tt_local_add(dev, addr->sa_data); | 538 | tt_local_add(dev, addr->sa_data); |
539 | } | 539 | } |
540 | 540 | ||
@@ -836,6 +836,7 @@ struct net_device *softif_create(const char *name) | |||
836 | 836 | ||
837 | bat_priv->tt_buff = NULL; | 837 | bat_priv->tt_buff = NULL; |
838 | bat_priv->tt_buff_len = 0; | 838 | bat_priv->tt_buff_len = 0; |
839 | bat_priv->tt_poss_change = false; | ||
839 | 840 | ||
840 | bat_priv->primary_if = NULL; | 841 | bat_priv->primary_if = NULL; |
841 | bat_priv->num_ifaces = 0; | 842 | bat_priv->num_ifaces = 0; |