diff options
author | Simon Wunderlich <sw@simonwunderlich.de> | 2015-08-08 03:01:50 +0300 |
---|---|---|
committer | Antonio Quartulli <a@unstable.cc> | 2015-12-15 19:21:42 +0300 |
commit | 18165f6f6570318ad0bb1e60c2ae597cdfd09a50 (patch) | |
tree | a4f2b1961369488044e80d5bfbbb90c63a350fbc /net/batman-adv/routing.c | |
parent | 4ff1e2a738c2c954ea2c0d6a7c2b06056d8d3849 (diff) | |
download | linux-18165f6f6570318ad0bb1e60c2ae597cdfd09a50.tar.xz |
batman-adv: rename equiv/equal or better to similar or better
Since the function applies a threshold and also slightly worse
values are accepted, ''equal or better'' does not represent the
intention of the function. ''Similar or better'' represents that better.
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/routing.c')
-rw-r--r-- | net/batman-adv/routing.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c index 8d990b070a2e..a43f02e2d423 100644 --- a/net/batman-adv/routing.c +++ b/net/batman-adv/routing.c @@ -497,9 +497,9 @@ batadv_find_router(struct batadv_priv *bat_priv, /* alternative candidate should be good enough to be * considered */ - if (!bao->bat_neigh_is_equiv_or_better(cand_router, - cand->if_outgoing, - router, recv_if)) + if (!bao->bat_neigh_is_similar_or_better(cand_router, + cand->if_outgoing, + router, recv_if)) goto next; /* don't use the same router twice */ |