diff options
-rwxr-xr-x | package/base-files/files/sbin/wifi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index b2dde6f01c..6b9662fe93 100755 --- a/package/base-files/files/sbin/wifi +++ b/package/base-files/files/sbin/wifi @@ -135,6 +135,7 @@ wifi_updown() { [ reconf = "$1" ] && { scan_wifi cmd=reconf + ubus call network reload } ubus_wifi_cmd "$cmd" "$2" _wifi_updown "$@" @@ -247,7 +248,7 @@ case "$1" in reload) wifi_reload "$2";; reload_legacy) wifi_reload_legacy "$2";; --help|help) usage;; - reconf) ubus call network reload; wifi_updown "reconf" "$2";; + reconf) wifi_updown "reconf" "$2";; ''|up) wifi_updown "enable" "$2";; *) usage; exit 1;; esac |