diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-20 16:11:46 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-20 16:11:46 +0000 |
commit | 305cc5a4528347d1f325ebdec6aba0d1a7687503 (patch) | |
tree | 52929bcc9de577295bf60e80bfe2312c974fb0f9 /package | |
parent | 8e58a9600bf5801340920e18fc221afd1e0721cc (diff) |
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
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/files/sbin/wifi | 1 | ||||
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index 2ca5d22cb..d653620ca 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 46f994ea7..222e2a9dd 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= |