aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/wifi
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/sbin/wifi')
-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
}