From: Jo-Philipp Wich Date: Tue, 26 Jun 2012 15:43:09 +0000 (+0000) Subject: broadcom-wl: fix WDS hotplug for multiple networks X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bc41cc82ec549f372ddc9229596d2ba44a640f5c;p=openwrt%2Fstaging%2Fadrian.git broadcom-wl: fix WDS hotplug for multiple networks SVN-Revision: 32505 --- 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