[package] kernel: fix leds-net48xx and scx200-gpio dependencies, closes #4486
[openwrt.git] / package / base-files / files / sbin / wifi
index 63e132d..e9752c6 100755 (executable)
@@ -84,6 +84,8 @@ set_wifi_down() {
        local cfg="$1"
        local vifs vif vifstr
 
+       [ -f "/var/run/wifi-${cfg}.pid" ] &&
+               kill "$(cat "/var/run/wifi-${cfg}.pid")"
        uci_revert_state wireless "$cfg"
        config_get vifs "$cfg" vifs
        for vif in $vifs; do
This page took 0.020801 seconds and 4 git commands to generate.