diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2012-02-07 04:20:45 -0500 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-04-18 03:53:58 -0400 |
commit | c2aca02235c014de57b03aa725d9b094f7a87cac (patch) | |
tree | f1ebbe3a48d5db44a3d71ccdc31a5c9ae99a8585 /net/batman-adv/bat_iv_ogm.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/bat_iv_ogm.c')
-rw-r--r-- | net/batman-adv/bat_iv_ogm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/bat_iv_ogm.c b/net/batman-adv/bat_iv_ogm.c index fab1071f601e..117b8314e8c7 100644 --- a/net/batman-adv/bat_iv_ogm.c +++ b/net/batman-adv/bat_iv_ogm.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include "send.h" | 30 | #include "send.h" |
31 | #include "bat_algo.h" | 31 | #include "bat_algo.h" |
32 | 32 | ||
33 | static void bat_iv_ogm_init(struct hard_iface *hard_iface) | 33 | static void bat_iv_ogm_iface_enable(struct hard_iface *hard_iface) |
34 | { | 34 | { |
35 | struct batman_ogm_packet *batman_ogm_packet; | 35 | struct batman_ogm_packet *batman_ogm_packet; |
36 | 36 | ||
@@ -1169,7 +1169,7 @@ static void bat_iv_ogm_receive(struct hard_iface *if_incoming, | |||
1169 | 1169 | ||
1170 | static struct bat_algo_ops batman_iv __read_mostly = { | 1170 | static struct bat_algo_ops batman_iv __read_mostly = { |
1171 | .name = "BATMAN IV", | 1171 | .name = "BATMAN IV", |
1172 | .bat_ogm_init = bat_iv_ogm_init, | 1172 | .bat_iface_enable = bat_iv_ogm_iface_enable, |
1173 | .bat_ogm_init_primary = bat_iv_ogm_init_primary, | 1173 | .bat_ogm_init_primary = bat_iv_ogm_init_primary, |
1174 | .bat_ogm_update_mac = bat_iv_ogm_update_mac, | 1174 | .bat_ogm_update_mac = bat_iv_ogm_update_mac, |
1175 | .bat_ogm_schedule = bat_iv_ogm_schedule, | 1175 | .bat_ogm_schedule = bat_iv_ogm_schedule, |