wifi: restart netifd wifi interfaces on the "up" command like the old variant
authorFelix Fietkau <nbd@openwrt.org>
Mon, 2 Dec 2013 16:53:27 +0000 (16:53 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 2 Dec 2013 16:53:27 +0000 (16:53 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38990

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
        }