From: Michael Tremer Date: Sun, 6 Aug 2017 12:28:53 +0000 (+0000) Subject: batman-adv: Use new function to remove device X-Git-Tag: 009~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3d13297615b2ed8307b849fe2f9a9d643b0cf17;p=network.git batman-adv: Use new function to remove device Signed-off-by: Michael Tremer --- diff --git a/src/functions/functions.batman-adv b/src/functions/functions.batman-adv index f3c6d9f0..80ebde77 100644 --- a/src/functions/functions.batman-adv +++ b/src/functions/functions.batman-adv @@ -60,7 +60,7 @@ batman_adv_detach() { local port=${1} assert isset port - __device_set_file "${port}" "batman_adv/mesh_iface" "none" + device_remove_master "${port}" } batman_adv_get_aggregated_ogms() {