diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-07-20 16:11:46 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-07-20 16:11:46 +0000 |
commit | e58d9626f21baff74b6712863c41f3c6c4aaf754 (patch) | |
tree | 3f6112ee947fd58f7d1b37b2d27dcc9dcce3a7ee /package/base-files/files/sbin/wifi | |
parent | eb021be571f1970a04c3f30cbcea66a5c6f90803 (diff) | |
download | mtk-20170518-e58d9626f21baff74b6712863c41f3c6c4aaf754.zip mtk-20170518-e58d9626f21baff74b6712863c41f3c6c4aaf754.tar.gz mtk-20170518-e58d9626f21baff74b6712863c41f3c6c4aaf754.tar.bz2 |
add a workaround for the hostapd killed issue when using more than one wifi card (#1928, #2040)
SVN-Revision: 8077
Diffstat (limited to 'package/base-files/files/sbin/wifi')
-rwxr-xr-x | package/base-files/files/sbin/wifi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index 2ca5d22..d653620 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" ] && { |