aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>2012-06-14 12:23:53 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-06-18 07:55:16 -0400
commit58886a9011f8eae705b9f585ec6c80b34f3c4e6c (patch)
tree653df6a75245fa683c96e9f19e1a37acd1d6e48d /net/mac80211/cfg.c
parent728b19e5fb9bbebbd580784a092b786fe379ed8e (diff)
mac80211: fix the assignment of mesh element TTL
This patch fixes the wrong assignment of mesh element TTL. Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 6e25ac4873c7..17162fcc24bc 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1530,7 +1530,7 @@ static int ieee80211_update_mesh_config(struct wiphy *wiphy,
1530 if (_chg_mesh_attr(NL80211_MESHCONF_TTL, mask)) 1530 if (_chg_mesh_attr(NL80211_MESHCONF_TTL, mask))
1531 conf->dot11MeshTTL = nconf->dot11MeshTTL; 1531 conf->dot11MeshTTL = nconf->dot11MeshTTL;
1532 if (_chg_mesh_attr(NL80211_MESHCONF_ELEMENT_TTL, mask)) 1532 if (_chg_mesh_attr(NL80211_MESHCONF_ELEMENT_TTL, mask))
1533 conf->dot11MeshTTL = nconf->element_ttl; 1533 conf->element_ttl = nconf->element_ttl;
1534 if (_chg_mesh_attr(NL80211_MESHCONF_AUTO_OPEN_PLINKS, mask)) 1534 if (_chg_mesh_attr(NL80211_MESHCONF_AUTO_OPEN_PLINKS, mask))
1535 conf->auto_open_plinks = nconf->auto_open_plinks; 1535 conf->auto_open_plinks = nconf->auto_open_plinks;
1536 if (_chg_mesh_attr(NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR, mask)) 1536 if (_chg_mesh_attr(NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR, mask))