diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2012-03-10 17:17:50 -0500 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-05-11 07:56:01 -0400 |
commit | c32293983d836ed6cbc5e8b58cb8cd10b26a774e (patch) | |
tree | bd61208235c5067383033d9f820b565c39548fcd /net/batman-adv/hard-interface.c | |
parent | edbf12ba56c4578f62a1357e005bcf11c2c38a16 (diff) |
batman-adv: refactoring API: find generalized name for bat_ogm_update_mac callback
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/hard-interface.c')
-rw-r--r-- | net/batman-adv/hard-interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/hard-interface.c b/net/batman-adv/hard-interface.c index 95f869c7ca04..0b84bb1b62c4 100644 --- a/net/batman-adv/hard-interface.c +++ b/net/batman-adv/hard-interface.c | |||
@@ -228,7 +228,7 @@ static void hardif_activate_interface(struct hard_iface *hard_iface) | |||
228 | 228 | ||
229 | bat_priv = netdev_priv(hard_iface->soft_iface); | 229 | bat_priv = netdev_priv(hard_iface->soft_iface); |
230 | 230 | ||
231 | bat_priv->bat_algo_ops->bat_ogm_update_mac(hard_iface); | 231 | bat_priv->bat_algo_ops->bat_iface_update_mac(hard_iface); |
232 | hard_iface->if_status = IF_TO_BE_ACTIVATED; | 232 | hard_iface->if_status = IF_TO_BE_ACTIVATED; |
233 | 233 | ||
234 | /** | 234 | /** |
@@ -524,7 +524,7 @@ static int hard_if_event(struct notifier_block *this, | |||
524 | check_known_mac_addr(hard_iface->net_dev); | 524 | check_known_mac_addr(hard_iface->net_dev); |
525 | 525 | ||
526 | bat_priv = netdev_priv(hard_iface->soft_iface); | 526 | bat_priv = netdev_priv(hard_iface->soft_iface); |
527 | bat_priv->bat_algo_ops->bat_ogm_update_mac(hard_iface); | 527 | bat_priv->bat_algo_ops->bat_iface_update_mac(hard_iface); |
528 | 528 | ||
529 | primary_if = primary_if_get_selected(bat_priv); | 529 | primary_if = primary_if_get_selected(bat_priv); |
530 | if (!primary_if) | 530 | if (!primary_if) |