summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/hard-interface.c
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2013-02-11 17:10:25 +0800
committerAntonio Quartulli <ordex@autistici.org>2013-03-27 10:27:33 +0100
commite07932ae6fb74ef707b2b27762fb0ad8aea4b55f (patch)
treed92690dfa77d66735b55f882cd0a7b0b75c5de20 /net/batman-adv/hard-interface.c
parenta15fd3612dd95341ad190def7faceebb41d6e346 (diff)
downloadop-kernel-dev-e07932ae6fb74ef707b2b27762fb0ad8aea4b55f.zip
op-kernel-dev-e07932ae6fb74ef707b2b27762fb0ad8aea4b55f.tar.gz
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/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 74e3ec2f..6c32607 100644
--- a/net/batman-adv/hard-interface.c
+++ b/net/batman-adv/hard-interface.c
@@ -448,7 +448,7 @@ void batadv_hardif_disable_interface(struct batadv_hard_iface *hard_iface,
/* nobody uses this interface anymore */
if (!bat_priv->num_ifaces && autodel == BATADV_IF_CLEANUP_AUTO)
- batadv_softif_destroy(hard_iface->soft_iface);
+ batadv_softif_destroy_sysfs(hard_iface->soft_iface);
hard_iface->soft_iface = NULL;
batadv_hardif_free_ref(hard_iface);
OpenPOWER on IntegriCloud