diff options
Diffstat (limited to 'net/batman-adv/main.c')
-rw-r--r-- | net/batman-adv/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c index c2b06b71d574..e367e690a9f6 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c | |||
@@ -113,6 +113,7 @@ int mesh_init(struct net_device *soft_iface) | |||
113 | if (vis_init(bat_priv) < 1) | 113 | if (vis_init(bat_priv) < 1) |
114 | goto err; | 114 | goto err; |
115 | 115 | ||
116 | atomic_set(&bat_priv->gw_reselect, 0); | ||
116 | atomic_set(&bat_priv->mesh_state, MESH_ACTIVE); | 117 | atomic_set(&bat_priv->mesh_state, MESH_ACTIVE); |
117 | goto end; | 118 | goto end; |
118 | 119 | ||