mirror of https://github.com/hak5/openwrt.git
wifi: restart netifd wifi interfaces on the "up" command like the old variant
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38990lede-17.01
parent
3c50feca19
commit
6e0fafd816
|
@ -126,6 +126,7 @@ wifi_updown() {
|
|||
cmd=down
|
||||
[ enable = "$1" ] && {
|
||||
_wifi_updown disable "$2"
|
||||
ubus_wifi_cmd "$cmd" "$2"
|
||||
scan_wifi
|
||||
cmd=up
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue