Explorar o código

broadcom-wl: fix WDS hotplug for multiple networks

SVN-Revision: 32505
Jo-Philipp Wich %!s(int64=13) %!d(string=hai) anos
pai
achega
bc41cc82ec

+ 3 - 1
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