summaryrefslogtreecommitdiff
path: root/package/broadcom-wl/files/etc/hotplug.d
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-26 15:43:09 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-26 15:43:09 +0000
commitf4e0c95bb61d7d981880ebd824bf0991fd28e378 (patch)
tree81be1213b523da358a0bd11d5890b03f309b8aeb /package/broadcom-wl/files/etc/hotplug.d
parent968a2a2451c6afcdbc5b3c9ad77654bd5e683fb2 (diff)
[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/files/etc/hotplug.d')
-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