]> git.ipfire.org Git - people/stevee/network.git/blobdiff - helpers/bridge-stp
hostapd: Enable WMM by default.
[people/stevee/network.git] / helpers / bridge-stp
index fb8240f9cd7144f94b2dcbcbd9537e838d0ea84e..186f287af99284fa49cbfc0ece0756c7a6e994f6 100755 (executable)
@@ -59,6 +59,13 @@ case "${STP_MODE}" in
                        fi
                fi
 
+               # Set the right protocol that should be used.
+               # Do this after the bridge has been added.
+               (
+                       sleep 2
+                       stp_bridge_set_protocol ${bridge} ${STP_MODE}
+               ) &
+
                # Tell mstpd that STP has to be enabled/disabled.
                case "${action}" in
                        start)