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]

 



Yes.

On Fri, Jun 15, 2012 at 2:57 AM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Fri, 2012-06-15 at 00:23 +0800, Chun-Yeow Yeoh wrote:
>> This patch fixes the wrong assignment of mesh element TTL.
>
> Since I haven't pushed to John yet, should I rebase and merge this with
> one of the previous patches?
>
> johannes
>
>> Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@xxxxxxxxx>
>> ---
>>  net/mac80211/cfg.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
>> index 85ac364..43eb8d9 100644
>> --- a/net/mac80211/cfg.c
>> +++ b/net/mac80211/cfg.c
>> @@ -1529,7 +1529,7 @@ static int ieee80211_update_mesh_config(struct wiphy *wiphy,
>>       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;
>> +             conf->element_ttl = 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_SYNC_OFFSET_MAX_NEIGHBOR, mask))
>
>
--
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