diff options
Diffstat (limited to 'net/batman-adv/main.c')
-rw-r--r-- | net/batman-adv/main.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c index 7edf8d719e15..0a7cee0076f4 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c | |||
@@ -84,8 +84,8 @@ int mesh_init(struct net_device *soft_iface) | |||
84 | 84 | ||
85 | spin_lock_init(&bat_priv->forw_bat_list_lock); | 85 | spin_lock_init(&bat_priv->forw_bat_list_lock); |
86 | spin_lock_init(&bat_priv->forw_bcast_list_lock); | 86 | spin_lock_init(&bat_priv->forw_bcast_list_lock); |
87 | spin_lock_init(&bat_priv->hna_lhash_lock); | 87 | spin_lock_init(&bat_priv->tt_lhash_lock); |
88 | spin_lock_init(&bat_priv->hna_ghash_lock); | 88 | spin_lock_init(&bat_priv->tt_ghash_lock); |
89 | spin_lock_init(&bat_priv->gw_list_lock); | 89 | spin_lock_init(&bat_priv->gw_list_lock); |
90 | spin_lock_init(&bat_priv->vis_hash_lock); | 90 | spin_lock_init(&bat_priv->vis_hash_lock); |
91 | spin_lock_init(&bat_priv->vis_list_lock); | 91 | spin_lock_init(&bat_priv->vis_list_lock); |
@@ -100,13 +100,13 @@ int mesh_init(struct net_device *soft_iface) | |||
100 | if (originator_init(bat_priv) < 1) | 100 | if (originator_init(bat_priv) < 1) |
101 | goto err; | 101 | goto err; |
102 | 102 | ||
103 | if (hna_local_init(bat_priv) < 1) | 103 | if (tt_local_init(bat_priv) < 1) |
104 | goto err; | 104 | goto err; |
105 | 105 | ||
106 | if (hna_global_init(bat_priv) < 1) | 106 | if (tt_global_init(bat_priv) < 1) |
107 | goto err; | 107 | goto err; |
108 | 108 | ||
109 | hna_local_add(soft_iface, soft_iface->dev_addr); | 109 | tt_local_add(soft_iface, soft_iface->dev_addr); |
110 | 110 | ||
111 | if (vis_init(bat_priv) < 1) | 111 | if (vis_init(bat_priv) < 1) |
112 | goto err; | 112 | goto err; |
@@ -137,8 +137,8 @@ void mesh_free(struct net_device *soft_iface) | |||
137 | gw_node_purge(bat_priv); | 137 | gw_node_purge(bat_priv); |
138 | originator_free(bat_priv); | 138 | originator_free(bat_priv); |
139 | 139 | ||
140 | hna_local_free(bat_priv); | 140 | tt_local_free(bat_priv); |
141 | hna_global_free(bat_priv); | 141 | tt_global_free(bat_priv); |
142 | 142 | ||
143 | softif_neigh_purge(bat_priv); | 143 | softif_neigh_purge(bat_priv); |
144 | 144 | ||