wifi: restart netifd wifi interfaces on the "up" command like the old variant
[openwrt.git] / package / base-files / files / sbin / wifi
index 2687f1e..f40cd7f 100755 (executable)
@@ -126,6 +126,7 @@ wifi_updown() {
        cmd=down
        [ enable = "$1" ] && {
                _wifi_updown disable "$2"
+               ubus_wifi_cmd "$cmd" "$2"
                scan_wifi
                cmd=up
        }