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 | 6e0fafd816cd4e376de61ddf5344ce4d7f37205e (patch) | |
tree | 6081da43f1ce888e4e12f264454c2d460daef2be /package/base-files/files/sbin | |
parent | 3c50feca19208cccc7fd4a4c20deaa931267662d (diff) | |
download | upstream-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/files/sbin')
-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 } |