From: Felix Fietkau Date: Mon, 2 Dec 2013 16:53:27 +0000 (+0000) Subject: wifi: restart netifd wifi interfaces on the "up" command like the old variant X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=9f6dd226eb9d092af0f7bd577dd370c959b6493a;p=15.05%2Fopenwrt.git wifi: restart netifd wifi interfaces on the "up" command like the old variant Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38990 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 }