aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-06-26 15:43:09 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-06-26 15:43:09 +0000
commite75cffa6e9d763ec639847c68166de97e2727ee3 (patch)
tree81be1213b523da358a0bd11d5890b03f309b8aeb /package/broadcom-wl
parentbe0f020ef15284ce31323977a1c521d90959ec66 (diff)
downloadupstream-e75cffa6e9d763ec639847c68166de97e2727ee3.tar.gz
upstream-e75cffa6e9d763ec639847c68166de97e2727ee3.tar.bz2
upstream-e75cffa6e9d763ec639847c68166de97e2727ee3.zip
[package] broadcom-wl: fix WDS hotplug for multiple networks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32505 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-wl')
-rw-r--r--package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds b/package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds
index f314a2527c..0a563c2dbd 100644
--- a/package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds
+++ b/package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds
@@ -23,7 +23,9 @@ setup_broadcom_wds() {
include /lib/network
scan_interfaces
- setup_interface "$iface" "$network"
+ for network in $network; do
+ setup_interface "$iface" "$network"
+ done
config_get encryption "$cfg" encryption
config_get key "$cfg" key