diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-12-02 16:53:27 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-12-02 16:53:27 +0000 |
commit | 9f6dd226eb9d092af0f7bd577dd370c959b6493a (patch) | |
tree | f1e308e9feb7072e265200fb12be8cbcc00723ab | |
parent | 8a98d2594a69f86755afa0b4305dbe2d4659ee39 (diff) | |
download | master-187ad058-9f6dd226eb9d092af0f7bd577dd370c959b6493a.tar.gz master-187ad058-9f6dd226eb9d092af0f7bd577dd370c959b6493a.tar.bz2 master-187ad058-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
-rwxr-xr-x | package/base-files/files/sbin/wifi | 1 |
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 } |