[package] broadcom-wl: fix WDS hotplug for multiple networks
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 26 Jun 2012 15:43:09 +0000 (15:43 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 26 Jun 2012 15:43:09 +0000 (15:43 +0000)
SVN-Revision: 32505

package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds

index f314a25..0a563c2 100644 (file)
@@ -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