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://git.lede-project.org./?a=commitdiff_plain;h=6e0fafd816cd4e376de61ddf5344ce4d7f37205e;p=openwrt%2Fstaging%2Faparcar.git wifi: restart netifd wifi interfaces on the "up" command like the old variant Signed-off-by: Felix Fietkau SVN-Revision: 38990 --- 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 }