summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/soft-interface.c
diff options
context:
space:
mode:
authorMarek Lindner2013-02-11 10:10:25 +0100
committerAntonio Quartulli2013-03-27 10:27:33 +0100
commite07932ae6fb74ef707b2b27762fb0ad8aea4b55f (patch)
treed92690dfa77d66735b55f882cd0a7b0b75c5de20 /net/batman-adv/soft-interface.c
parentbatman-adv: Don't always delete softif when last slave was removed (diff)
downloadkernel-qcow2-linux-e07932ae6fb74ef707b2b27762fb0ad8aea4b55f.tar.gz
kernel-qcow2-linux-e07932ae6fb74ef707b2b27762fb0ad8aea4b55f.tar.xz
kernel-qcow2-linux-e07932ae6fb74ef707b2b27762fb0ad8aea4b55f.zip
batman-adv: rename batadv_softif_destroy to reflect sysfs use case
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> CC: Sven Eckelmann <sven@narfation.org> Acked-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/soft-interface.c')
-rw-r--r--net/batman-adv/soft-interface.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c
index e889bfb1bfc3..bc77a5be960d 100644
--- a/net/batman-adv/soft-interface.c
+++ b/net/batman-adv/soft-interface.c
@@ -581,7 +581,11 @@ struct net_device *batadv_softif_create(const char *name)
return soft_iface;
}
-void batadv_softif_destroy(struct net_device *soft_iface)
+/**
+ * batadv_softif_destroy_sysfs - deletion of batadv_soft_interface via sysfs
+ * @soft_iface: the to-be-removed batman-adv interface
+ */
+void batadv_softif_destroy_sysfs(struct net_device *soft_iface)
{
struct batadv_priv *bat_priv = netdev_priv(soft_iface);