diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2012-02-07 17:20:49 +0800 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-04-18 09:54:00 +0200 |
commit | cd8b78e7e9d1d9625634dc1ec2bb4b5a14d1295a (patch) | |
tree | 311f168367895522355764708b4619c50d2d87a9 /net/batman-adv/types.h | |
parent | 77af7575c4b11ce7d27b4cb372abd358b2dcd850 (diff) | |
download | op-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/types.h')
-rw-r--r-- | net/batman-adv/types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index dd78023..4d93aad 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -381,8 +381,8 @@ struct bat_algo_ops { int (*bat_iface_enable)(struct hard_iface *hard_iface); /* de-init routing info when hard-interface is disabled */ void (*bat_iface_disable)(struct hard_iface *hard_iface); - /* init primary OGM when primary interface is selected */ - void (*bat_ogm_init_primary)(struct hard_iface *hard_iface); + /* called when primary interface is selected / changed */ + void (*bat_primary_iface_set)(struct hard_iface *hard_iface); /* init mac addresses of the OGM belonging to this hard-interface */ void (*bat_ogm_update_mac)(struct hard_iface *hard_iface); /* prepare a new outgoing OGM for the send queue */ |