wifi: restart netifd wifi interfaces on the "up" command like the old variant

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38990
This commit is contained in:
Felix Fietkau 2013-12-02 16:53:27 +00:00
parent 3c50feca19
commit 6e0fafd816

View File

@ -126,6 +126,7 @@ wifi_updown() {
cmd=down
[ enable = "$1" ] && {
_wifi_updown disable "$2"
ubus_wifi_cmd "$cmd" "$2"
scan_wifi
cmd=up
}