diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2012-02-07 04:20:49 -0500 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-04-18 03:54:00 -0400 |
commit | cd8b78e7e9d1d9625634dc1ec2bb4b5a14d1295a (patch) | |
tree | 311f168367895522355764708b4619c50d2d87a9 /net/batman-adv/bat_iv_ogm.c | |
parent | 77af7575c4b11ce7d27b4cb372abd358b2dcd850 (diff) |
batman-adv: refactoring API: find generalized name for bat_ogm_init_primary 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 271467033a1c..c0bdb90cc024 100644 --- a/net/batman-adv/bat_iv_ogm.c +++ b/net/batman-adv/bat_iv_ogm.c | |||
@@ -67,7 +67,7 @@ static void bat_iv_ogm_iface_disable(struct hard_iface *hard_iface) | |||
67 | hard_iface->packet_buff = NULL; | 67 | hard_iface->packet_buff = NULL; |
68 | } | 68 | } |
69 | 69 | ||
70 | static void bat_iv_ogm_init_primary(struct hard_iface *hard_iface) | 70 | static void bat_iv_ogm_primary_iface_set(struct hard_iface *hard_iface) |
71 | { | 71 | { |
72 | struct batman_ogm_packet *batman_ogm_packet; | 72 | struct batman_ogm_packet *batman_ogm_packet; |
73 | 73 | ||
@@ -1191,7 +1191,7 @@ static struct bat_algo_ops batman_iv __read_mostly = { | |||
1191 | .name = "BATMAN IV", | 1191 | .name = "BATMAN IV", |
1192 | .bat_iface_enable = bat_iv_ogm_iface_enable, | 1192 | .bat_iface_enable = bat_iv_ogm_iface_enable, |
1193 | .bat_iface_disable = bat_iv_ogm_iface_disable, | 1193 | .bat_iface_disable = bat_iv_ogm_iface_disable, |
1194 | .bat_ogm_init_primary = bat_iv_ogm_init_primary, | 1194 | .bat_primary_iface_set = bat_iv_ogm_primary_iface_set, |
1195 | .bat_ogm_update_mac = bat_iv_ogm_update_mac, | 1195 | .bat_ogm_update_mac = bat_iv_ogm_update_mac, |
1196 | .bat_ogm_schedule = bat_iv_ogm_schedule, | 1196 | .bat_ogm_schedule = bat_iv_ogm_schedule, |
1197 | .bat_ogm_emit = bat_iv_ogm_emit, | 1197 | .bat_ogm_emit = bat_iv_ogm_emit, |