From: Felix Fietkau Date: Fri, 20 Jul 2007 16:11:46 +0000 (+0000) Subject: add a workaround for the hostapd killed issue when using more than one wifi card... X-Git-Tag: kamikaze_7.07~56 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e5d25ac2eba86fb930f337b09daacff714ac9adb;p=openwrt%2Fsvn-archive%2Fopenwrt.git add a workaround for the hostapd killed issue when using more than one wifi card (#1928, #2040) SVN-Revision: 8077 --- diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index 2ca5d22cb8..d653620ca2 100755 --- a/package/base-files/files/sbin/wifi +++ b/package/base-files/files/sbin/wifi @@ -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" ] && { diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 46f994ea74..222e2a9ddd 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -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=