[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 f314a2527c6d70cc2fc80e1802ab4bffcf9557f9..0a563c2dbd3c3109e4bfdb950d01c8b6113f7ed1 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