diff options
Diffstat (limited to 'net/mac80211/mesh.c')
-rw-r--r-- | net/mac80211/mesh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c index 49a44bcd8aba..d4684242e78b 100644 --- a/net/mac80211/mesh.c +++ b/net/mac80211/mesh.c | |||
@@ -574,7 +574,8 @@ static void ieee80211_mesh_housekeeping(struct ieee80211_sub_if_data *sdata) | |||
574 | struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; | 574 | struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; |
575 | u32 changed; | 575 | u32 changed; |
576 | 576 | ||
577 | ieee80211_sta_expire(sdata, ifmsh->mshcfg.plink_timeout * HZ); | 577 | if (ifmsh->mshcfg.plink_timeout > 0) |
578 | ieee80211_sta_expire(sdata, ifmsh->mshcfg.plink_timeout * HZ); | ||
578 | mesh_path_expire(sdata); | 579 | mesh_path_expire(sdata); |
579 | 580 | ||
580 | changed = mesh_accept_plinks_update(sdata); | 581 | changed = mesh_accept_plinks_update(sdata); |