diff options
author | James Morris <james.l.morris@oracle.com> | 2014-11-19 05:32:12 -0500 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2014-11-19 05:32:12 -0500 |
commit | b10778a00d40b3d9fdaaf5891e802794781ff71c (patch) | |
tree | 6ba4cbac86eecedc3f30650e7f764ecf00c83898 /net/batman-adv/soft-interface.c | |
parent | 594081ee7145cc30a3977cb4e218f81213b63dc5 (diff) | |
parent | bfe01a5ba2490f299e1d2d5508cbbbadd897bbe9 (diff) |
Merge commit 'v3.17' into next
Diffstat (limited to 'net/batman-adv/soft-interface.c')
-rw-r--r-- | net/batman-adv/soft-interface.c | 4 |
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 | ||