aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-12-02 16:53:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-12-02 16:53:27 +0000
commit9f6dd226eb9d092af0f7bd577dd370c959b6493a (patch)
treef1e308e9feb7072e265200fb12be8cbcc00723ab /package/base-files/files
parent8a98d2594a69f86755afa0b4305dbe2d4659ee39 (diff)
downloadupstream-9f6dd226eb9d092af0f7bd577dd370c959b6493a.tar.gz
upstream-9f6dd226eb9d092af0f7bd577dd370c959b6493a.tar.bz2
upstream-9f6dd226eb9d092af0f7bd577dd370c959b6493a.zip
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
Diffstat (limited to 'package/base-files/files')
-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
}