wifi: restart netifd wifi interfaces on the "up" command like the old variant
[openwrt/staging/lynxis/omap.git] / package / base-files / files / sbin / wifi
index 2687f1e90ae5cb115547d26a2391dde6a9eb9ec6..f40cd7febb377effe80f2bd7f3cbd288b59220dc 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
        }