From e58d9626f21baff74b6712863c41f3c6c4aaf754 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 20 Jul 2007 16:11:46 +0000 Subject: add a workaround for the hostapd killed issue when using more than one wifi card (#1928, #2040) SVN-Revision: 8077 --- package/base-files/files/sbin/wifi | 1 + 1 file changed, 1 insertion(+) (limited to 'package/base-files') 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" ] && { -- cgit v1.2.3