On Fri, 2012-06-15 at 17:26 +0800, Yeoh Chun-Yeow wrote:
> Hi, Johannes
> 
> No. I think that I am actually fixing the wrong assignment of the
> previous patch.

Please clarify *which* previous patch.

> > commit 45904f21655cf4f0ae7d0fab5906fe51bf56ecf4
> > Author:     Javier Cardona <[email protected]>
> > AuthorDate: Fri Dec 3 09:20:40 2010 +0100
> > Commit:     John W. Linville <[email protected]>
> > CommitDate: Mon Dec 6 16:01:28 2010 -0500
> >
> >    nl80211/mac80211: define and allow configuring mesh element TTL

This patch looked like this:

--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1024,6 +1024,8 @@ static int ieee80211_set_mesh_params(struct wiphy *wiphy,
                conf->dot11MeshMaxRetries = nconf->dot11MeshMaxRetries;
        if (_chg_mesh_attr(NL80211_MESHCONF_TTL, mask))
                conf->dot11MeshTTL = nconf->dot11MeshTTL;
+       if (_chg_mesh_attr(NL80211_MESHCONF_ELEMENT_TTL, mask))
+               conf->dot11MeshTTL = nconf->element_ttl;
        if (_chg_mesh_attr(NL80211_MESHCONF_AUTO_OPEN_PLINKS, mask))
                conf->auto_open_plinks = nconf->auto_open_plinks;
        if (_chg_mesh_attr(NL80211_MESHCONF_HWMP_MAX_PREQ_RETRIES, mask))


Are you telling me you're not fixing that code?

johannes

_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel

Reply via email to