aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/types.h
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2012-02-07 17:20:45 +0800
committerAntonio Quartulli <ordex@autistici.org>2012-04-18 09:53:58 +0200
commitc2aca02235c014de57b03aa725d9b094f7a87cac (patch)
treef1ebbe3a48d5db44a3d71ccdc31a5c9ae99a8585 /net/batman-adv/types.h
parentbatman-adv: move ogm initialization into the proper function (diff)
downloadlinux-dev-c2aca02235c014de57b03aa725d9b094f7a87cac.tar.xz
linux-dev-c2aca02235c014de57b03aa725d9b094f7a87cac.zip
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 '')
-rw-r--r--net/batman-adv/types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h
index a5b1a6333def..4b9224829a6c 100644
--- a/net/batman-adv/types.h
+++ b/net/batman-adv/types.h
@@ -377,8 +377,8 @@ struct recvlist_node {
struct bat_algo_ops {
struct hlist_node list;
char *name;
- /* init OGM when hard-interface is enabled */
- void (*bat_ogm_init)(struct hard_iface *hard_iface);
+ /* init routing info when hard-interface is enabled */
+ void (*bat_iface_enable)(struct hard_iface *hard_iface);
/* init primary OGM when primary interface is selected */
void (*bat_ogm_init_primary)(struct hard_iface *hard_iface);
/* init mac addresses of the OGM belonging to this hard-interface */