projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
557c36d
)
wireless: call an initial cleanup function
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 2 Dec 2013 09:39:51 +0000
(10:39 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 2 Dec 2013 09:39:51 +0000
(10:39 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
scripts/netifd-wireless.sh
patch
|
blob
|
history
diff --git
a/scripts/netifd-wireless.sh
b/scripts/netifd-wireless.sh
index e26cea5a261656d88fc303f1956ec41de520b72d..7ae36955ddd683c9629f28823b749a3b7e3059a7 100644
(file)
--- 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"