summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/hard-interface.c
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2012-02-07 17:20:49 +0800
committerAntonio Quartulli <ordex@autistici.org>2012-04-18 09:54:00 +0200
commitcd8b78e7e9d1d9625634dc1ec2bb4b5a14d1295a (patch)
tree311f168367895522355764708b4619c50d2d87a9 /net/batman-adv/hard-interface.c
parent77af7575c4b11ce7d27b4cb372abd358b2dcd850 (diff)
downloadop-kernel-dev-cd8b78e7e9d1d9625634dc1ec2bb4b5a14d1295a.zip
op-kernel-dev-cd8b78e7e9d1d9625634dc1ec2bb4b5a14d1295a.tar.gz
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/hard-interface.c')
-rw-r--r--net/batman-adv/hard-interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/hard-interface.c b/net/batman-adv/hard-interface.c
index 3b391fd..75a555b 100644
--- a/net/batman-adv/hard-interface.c
+++ b/net/batman-adv/hard-interface.c
@@ -146,7 +146,7 @@ static void primary_if_select(struct bat_priv *bat_priv,
if (!new_hard_iface)
goto out;
- bat_priv->bat_algo_ops->bat_ogm_init_primary(new_hard_iface);
+ bat_priv->bat_algo_ops->bat_primary_iface_set(new_hard_iface);
primary_if_update_addr(bat_priv, curr_hard_iface);
out:
OpenPOWER on IntegriCloud