From 8ca03cd7e0d9b0747162d3eb372e323a7736a71b Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 2 Dec 2013 16:53:27 +0000 Subject: 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 --- package/base-files/files/sbin/wifi | 1 + 1 file changed, 1 insertion(+) (limited to 'package/base-files/files') 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 } -- cgit v1.2.3