aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-20 16:11:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-20 16:11:46 +0000
commita13fa6520743f04c937f0af5dc1ff9d0e6298704 (patch)
tree52929bcc9de577295bf60e80bfe2312c974fb0f9 /package/base-files
parent06a19c83ae86024d913e848a1d571fd19977aab0 (diff)
downloadmaster-187ad058-a13fa6520743f04c937f0af5dc1ff9d0e6298704.tar.gz
master-187ad058-a13fa6520743f04c937f0af5dc1ff9d0e6298704.tar.bz2
master-187ad058-a13fa6520743f04c937f0af5dc1ff9d0e6298704.zip
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/base-files')
-rwxr-xr-xpackage/base-files/files/sbin/wifi1
1 files changed, 1 insertions, 0 deletions
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" ] && {