diff options
author | Colleen Twitty <colleen@cozybit.com> | 2013-06-03 12:53:40 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-06-11 08:16:29 -0400 |
commit | 66de671374f003467b5ef7c65ecbe1930480c8c9 (patch) | |
tree | 1cf849085a6c8b7c0aeb1b2329dbf53c8c605f73 /net/mac80211/cfg.c | |
parent | 8e7c053853b7d299e8a2b8733659b0df8eee51f7 (diff) |
mac80211: expire mesh peers based on mesh configuration
The time it takes to see the peer link expire may differ
by a minute since sta_expire() is run once a minute as a
mesh housekeeping task.
Signed-off-by: Colleen Twitty <colleen@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 30622101d3b5..344a57968079 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c | |||
@@ -1871,6 +1871,8 @@ static int ieee80211_update_mesh_config(struct wiphy *wiphy, | |||
1871 | if (_chg_mesh_attr(NL80211_MESHCONF_AWAKE_WINDOW, mask)) | 1871 | if (_chg_mesh_attr(NL80211_MESHCONF_AWAKE_WINDOW, mask)) |
1872 | conf->dot11MeshAwakeWindowDuration = | 1872 | conf->dot11MeshAwakeWindowDuration = |
1873 | nconf->dot11MeshAwakeWindowDuration; | 1873 | nconf->dot11MeshAwakeWindowDuration; |
1874 | if (_chg_mesh_attr(NL80211_MESHCONF_PLINK_TIMEOUT, mask)) | ||
1875 | conf->plink_timeout = nconf->plink_timeout; | ||
1874 | ieee80211_mbss_info_change_notify(sdata, BSS_CHANGED_BEACON); | 1876 | ieee80211_mbss_info_change_notify(sdata, BSS_CHANGED_BEACON); |
1875 | return 0; | 1877 | return 0; |
1876 | } | 1878 | } |