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
commitbc41cc82ec549f372ddc9229596d2ba44a640f5c (patch)
tree4eefc002130826dbc633257eb784a3ed124f2972 /package/broadcom-wl
parent089a80ae5549a4e2cdc9a09d1da3f6ad507521d8 (diff)
downloadupstream-bc41cc82ec549f372ddc9229596d2ba44a640f5c.tar.gz
upstream-bc41cc82ec549f372ddc9229596d2ba44a640f5c.tar.bz2
upstream-bc41cc82ec549f372ddc9229596d2ba44a640f5c.zip
broadcom-wl: fix WDS hotplug for multiple networks
SVN-Revision: 32505
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