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:
parent
3c50feca19
commit
6e0fafd816
@ -126,6 +126,7 @@ wifi_updown() {
|
|||||||
cmd=down
|
cmd=down
|
||||||
[ enable = "$1" ] && {
|
[ enable = "$1" ] && {
|
||||||
_wifi_updown disable "$2"
|
_wifi_updown disable "$2"
|
||||||
|
ubus_wifi_cmd "$cmd" "$2"
|
||||||
scan_wifi
|
scan_wifi
|
||||||
cmd=up
|
cmd=up
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user