aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2012-01-27 10:11:55 -0500
committerAntonio Quartulli <ordex@autistici.org>2012-04-11 08:28:58 -0400
commit8681a1c4dd258c573e80b4a7af7e7127770b67a8 (patch)
tree06c68d71c48e268f424d284aea979ced736398a1 /net
parentde7aae6570412a22fd8854d62dc73c8afe508253 (diff)
batman-adv: encourage batman to take shorter routes by changing the default hop penalty
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net')
-rw-r--r--net/batman-adv/soft-interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c
index a5590f4193f1..82c097d6ec93 100644
--- a/net/batman-adv/soft-interface.c
+++ b/net/batman-adv/soft-interface.c
@@ -834,7 +834,7 @@ struct net_device *softif_create(const char *name)
834 atomic_set(&bat_priv->gw_sel_class, 20); 834 atomic_set(&bat_priv->gw_sel_class, 20);
835 atomic_set(&bat_priv->gw_bandwidth, 41); 835 atomic_set(&bat_priv->gw_bandwidth, 41);
836 atomic_set(&bat_priv->orig_interval, 1000); 836 atomic_set(&bat_priv->orig_interval, 1000);
837 atomic_set(&bat_priv->hop_penalty, 10); 837 atomic_set(&bat_priv->hop_penalty, 30);
838 atomic_set(&bat_priv->log_level, 0); 838 atomic_set(&bat_priv->log_level, 0);
839 atomic_set(&bat_priv->fragmentation, 1); 839 atomic_set(&bat_priv->fragmentation, 1);
840 atomic_set(&bat_priv->bcast_queue_left, BCAST_QUEUE_LEN); 840 atomic_set(&bat_priv->bcast_queue_left, BCAST_QUEUE_LEN);