add a workaround for the hostapd killed issue when using more than one wifi card (#1928, #2040)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8077 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2007-07-20 16:11:46 +00:00
parent 06a19c83ae
commit a13fa65207
2 changed files with 1 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ bridge_interface() {(
wifi_updown() {
[ enable = "$1" ] && wifi_updown disable "$2"
for device in ${2:-$DEVICES}; do (
config_get disabled "$device" disabled
[ 1 == "$disabled" ] && {

View File

@@ -73,7 +73,6 @@ enable_atheros() {
config_get channel "$device" channel
config_get vifs "$device" vifs
disable_atheros "$device"
local first=1
for vif in $vifs; do
nosbeacon=