projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de7aae6
)
batman-adv: encourage batman to take shorter routes by changing the default hop penalty
author
Marek Lindner
<lindner_marek@yahoo.de>
Fri, 27 Jan 2012 15:11:55 +0000
(23:11 +0800)
committer
Antonio Quartulli
<ordex@autistici.org>
Wed, 11 Apr 2012 12:28:58 +0000
(14:28 +0200)
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/soft-interface.c
patch
|
blob
|
history
diff --git
a/net/batman-adv/soft-interface.c
b/net/batman-adv/soft-interface.c
index
a5590f4
..
82c097d
100644
(file)
--- 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)
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,
1
0);
+ atomic_set(&bat_priv->hop_penalty,
3
0);
atomic_set(&bat_priv->log_level, 0);
atomic_set(&bat_priv->fragmentation, 1);
atomic_set(&bat_priv->bcast_queue_left, BCAST_QUEUE_LEN);