From: nbd 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=8ca03cd7e0d9b0747162d3eb372e323a7736a71b;p=openwrt.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 }