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

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

SVN-Revision: 38990
lede-17.01
Felix Fietkau 2013-12-02 16:53:27 +00:00
parent 3c50feca19
commit 6e0fafd816
1 changed files with 1 additions and 0 deletions

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
}