|
@@ -179,7 +179,8 @@ static void br_stp_start(struct net_bridge *br)
|
|
br_debug(br, "using kernel STP\n");
|
|
br_debug(br, "using kernel STP\n");
|
|
|
|
|
|
/* To start timers on any ports left in blocking */
|
|
/* To start timers on any ports left in blocking */
|
|
- mod_timer(&br->hello_timer, jiffies + br->hello_time);
|
|
|
|
|
|
+ if (br->dev->flags & IFF_UP)
|
|
|
|
+ mod_timer(&br->hello_timer, jiffies + br->hello_time);
|
|
br_port_state_selection(br);
|
|
br_port_state_selection(br);
|
|
}
|
|
}
|
|
|
|
|