summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-12-02 16:53:27 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-12-02 16:53:27 +0000
commit8ca03cd7e0d9b0747162d3eb372e323a7736a71b (patch)
treef1e308e9feb7072e265200fb12be8cbcc00723ab
parent3f73a9aa439d5281ac1018757fc5db4f8afc21f2 (diff)
wifi: restart netifd wifi interfaces on the "up" command like the old variant
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38990 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xpackage/base-files/files/sbin/wifi1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi
index 2687f1e90a..f40cd7febb 100755
--- a/package/base-files/files/sbin/wifi
+++ b/package/base-files/files/sbin/wifi
@@ -126,6 +126,7 @@ wifi_updown() {
cmd=down
[ enable = "$1" ] && {
_wifi_updown disable "$2"
+ ubus_wifi_cmd "$cmd" "$2"
scan_wifi
cmd=up
}