summaryrefslogtreecommitdiff
path: root/net/batman-adv/main.c
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2012-02-07 13:20:47 +0400
committerAntonio Quartulli <ordex@autistici.org>2012-04-18 11:53:59 +0400
commit00a50076a3afa4014cdd57e87e31a00ce4c4b67e (patch)
tree29a2f36db820eb25b3d4abd56c71d8c2e6cde889 /net/batman-adv/main.c
parentd7d32ec0f199cc00a43434cdd920338763fab2e0 (diff)
downloadlinux-00a50076a3afa4014cdd57e87e31a00ce4c4b67e.tar.xz
batman-adv: add iface_disable() callback to routing API
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c
index ca8f39547105..a47a6ced1cb7 100644
--- a/net/batman-adv/main.c
+++ b/net/batman-adv/main.c
@@ -209,6 +209,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_iface_enable ||
+ !bat_algo_ops->bat_iface_disable ||
!bat_algo_ops->bat_ogm_init_primary ||
!bat_algo_ops->bat_ogm_update_mac ||
!bat_algo_ops->bat_ogm_schedule ||