summaryrefslogtreecommitdiff
path: root/package/broadcom-wl/files/etc/hotplug.d
diff options
context:
space:
mode:
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