summaryrefslogtreecommitdiffhomepage
path: root/scripts/netifd-wireless.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/netifd-wireless.sh')
-rw-r--r--scripts/netifd-wireless.sh2
1 files changed, 2 insertions, 0 deletions
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"