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/main.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/main.c')
-rw-r--r-- | net/batman-adv/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c index d7f17c1aa4a4..45952dcb0b68 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c @@ -552,7 +552,7 @@ int batadv_algo_register(struct batadv_algo_ops *bat_algo_ops) !bat_algo_ops->bat_ogm_schedule || !bat_algo_ops->bat_ogm_emit || !bat_algo_ops->bat_neigh_cmp || - !bat_algo_ops->bat_neigh_is_equiv_or_better) { + !bat_algo_ops->bat_neigh_is_similar_or_better) { pr_info("Routing algo '%s' does not implement required ops\n", bat_algo_ops->name); return -EINVAL; |