From: Felix Fietkau Date: Mon, 2 Dec 2013 09:39:51 +0000 (+0100) Subject: wireless: call an initial cleanup function X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4a954d36788bd5fc68a641b9005dbbf988a5ef7e;p=project%2Fnetifd.git wireless: call an initial cleanup function Signed-off-by: Felix Fietkau --- diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh index e26cea5..7ae3695 100644 --- a/scripts/netifd-wireless.sh +++ b/scripts/netifd-wireless.sh @@ -297,6 +297,8 @@ init_wireless_driver() { case "$cmd" in dump) add_driver() { + eval "drv_$1_cleanup" + json_init json_add_string name "$1"