From ab72460ac6522ad7ec6998d82dbd246ac9205f72 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Sun, 7 Oct 2007 11:15:22 +0000
Subject: Turn on stp for br-lan only when doing wds (#2476)

SVN-Revision: 9176
---
 package/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'package')

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 788d69c549..e4b537cc07 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
@@ -33,6 +33,8 @@ setup_broadcom_wds() {
 				sleep 1
 				nas4not lan "$iface" up auto aes "$encryption" "$key" "$ssid" 
 			}
+
+			brctl stp br-lan on
 			
 		}
 	}
-- 
cgit v1.2.3