aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/soft-interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/soft-interface.c')
-rw-r--r--net/batman-adv/soft-interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c
index cbd677f48c00..5467955eb27c 100644
--- a/net/batman-adv/soft-interface.c
+++ b/net/batman-adv/soft-interface.c
@@ -751,7 +751,7 @@ static int batadv_softif_init_late(struct net_device *dev)
751 atomic_set(&bat_priv->gw.bandwidth_down, 100); 751 atomic_set(&bat_priv->gw.bandwidth_down, 100);
752 atomic_set(&bat_priv->gw.bandwidth_up, 20); 752 atomic_set(&bat_priv->gw.bandwidth_up, 20);
753 atomic_set(&bat_priv->orig_interval, 1000); 753 atomic_set(&bat_priv->orig_interval, 1000);
754 atomic_set(&bat_priv->hop_penalty, 15); 754 atomic_set(&bat_priv->hop_penalty, 30);
755#ifdef CONFIG_BATMAN_ADV_DEBUG 755#ifdef CONFIG_BATMAN_ADV_DEBUG
756 atomic_set(&bat_priv->log_level, 0); 756 atomic_set(&bat_priv->log_level, 0);
757#endif 757#endif
@@ -927,7 +927,7 @@ struct net_device *batadv_softif_create(const char *name)
927 int ret; 927 int ret;
928 928
929 soft_iface = alloc_netdev(sizeof(struct batadv_priv), name, 929 soft_iface = alloc_netdev(sizeof(struct batadv_priv), name,
930 batadv_softif_init_early); 930 NET_NAME_UNKNOWN, batadv_softif_init_early);
931 if (!soft_iface) 931 if (!soft_iface)
932 return NULL; 932 return NULL;
933 933