aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-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
commit6e0fafd816cd4e376de61ddf5344ce4d7f37205e (patch)
tree6081da43f1ce888e4e12f264454c2d460daef2be /package/base-files
parent3c50feca19208cccc7fd4a4c20deaa931267662d (diff)
downloadupstream-6e0fafd816cd4e376de61ddf5344ce4d7f37205e.tar.gz
upstream-6e0fafd816cd4e376de61ddf5344ce4d7f37205e.tar.bz2
upstream-6e0fafd816cd4e376de61ddf5344ce4d7f37205e.zip
wifi: restart netifd wifi interfaces on the "up" command like the old variant
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38990
Diffstat (limited to 'package/base-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
}