Commit 8681a1c4 authored by Marek Lindner's avatar Marek Lindner Committed by Antonio Quartulli

batman-adv: encourage batman to take shorter routes by changing the default hop penalty

Signed-off-by: default avatarMarek Lindner <>
Signed-off-by: default avatarAntonio Quartulli <>
parent de7aae65
......@@ -834,7 +834,7 @@ struct net_device *softif_create(const char *name)
atomic_set(&bat_priv->gw_sel_class, 20);
atomic_set(&bat_priv->gw_bandwidth, 41);
atomic_set(&bat_priv->orig_interval, 1000);
atomic_set(&bat_priv->hop_penalty, 10);
atomic_set(&bat_priv->hop_penalty, 30);
atomic_set(&bat_priv->log_level, 0);
atomic_set(&bat_priv->fragmentation, 1);
atomic_set(&bat_priv->bcast_queue_left, BCAST_QUEUE_LEN);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment