aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/bat_iv_ogm.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/bat_iv_ogm.c')
-rw-r--r--net/batman-adv/bat_iv_ogm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/batman-adv/bat_iv_ogm.c b/net/batman-adv/bat_iv_ogm.c
index 677997b5c485..a6d5d63fb6ad 100644
--- a/net/batman-adv/bat_iv_ogm.c
+++ b/net/batman-adv/bat_iv_ogm.c
@@ -779,8 +779,7 @@ static int bat_iv_ogm_calc_tq(struct orig_node *orig_node,
779 * information */ 779 * information */
780 tq_own = (TQ_MAX_VALUE * total_count) / neigh_rq_count; 780 tq_own = (TQ_MAX_VALUE * total_count) / neigh_rq_count;
781 781
782 /* 782 /* 1 - ((1-x) ** 3), normalized to TQ_MAX_VALUE this does
783 * 1 - ((1-x) ** 3), normalized to TQ_MAX_VALUE this does
784 * affect the nearly-symmetric links only a little, but 783 * affect the nearly-symmetric links only a little, but
785 * punishes asymmetric links more. This will give a value 784 * punishes asymmetric links more. This will give a value
786 * between 0 and TQ_MAX_VALUE 785 * between 0 and TQ_MAX_VALUE