Search Linux Wireless

Re: [PATCH] mac80211: fix the assignment of mesh element TTL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <javier@xxxxxxxxxxx>
> > AuthorDate: Fri Dec 3 09:20:40 2010 +0100
> > Commit:     John W. Linville <linville@xxxxxxxxxxxxx>
> > 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

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux