diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2012-02-07 17:20:45 +0800 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-04-18 09:53:58 +0200 |
commit | c2aca02235c014de57b03aa725d9b094f7a87cac (patch) | |
tree | f1ebbe3a48d5db44a3d71ccdc31a5c9ae99a8585 /net/batman-adv/main.c | |
parent | 8140625e30523da3eb76cdab837ba7aa9509029c (diff) |
batman-adv: refactoring API: find generalized name for bat_ogm_init callback
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
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 e67ca96285b3..ca8f39547105 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c @@ -208,7 +208,7 @@ int bat_algo_register(struct bat_algo_ops *bat_algo_ops) } /* all algorithms must implement all ops (for now) */ - if (!bat_algo_ops->bat_ogm_init || + if (!bat_algo_ops->bat_iface_enable || !bat_algo_ops->bat_ogm_init_primary || !bat_algo_ops->bat_ogm_update_mac || !bat_algo_ops->bat_ogm_schedule || |