|
@@ -40,7 +40,7 @@ static void br_hello_timer_expired(unsigned long arg)
|
|
if (br->dev->flags & IFF_UP) {
|
|
if (br->dev->flags & IFF_UP) {
|
|
br_config_bpdu_generation(br);
|
|
br_config_bpdu_generation(br);
|
|
|
|
|
|
- if (br->stp_enabled != BR_USER_STP)
|
|
|
|
|
|
+ if (br->stp_enabled == BR_KERNEL_STP)
|
|
mod_timer(&br->hello_timer,
|
|
mod_timer(&br->hello_timer,
|
|
round_jiffies(jiffies + br->hello_time));
|
|
round_jiffies(jiffies + br->hello_time));
|
|
}
|
|
}
|