linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] mac80211:mesh_mpp_table_grow call should depend on MESH_WORK_GROW_MPP_TABLE flag.
  2011-01-11 14:35 [PATCH] mac80211:mesh_mpp_table_grow call should depend on MESH_WORK_GROW_MPP_TABLE flag Nick Ledovskikh
@ 2011-01-11 12:59 ` Johannes Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2011-01-11 12:59 UTC (permalink / raw)
  To: nledovskikh; +Cc: linville, devel, linux-wireless

On Tue, 2011-01-11 at 14:35 +0000, Nick Ledovskikh wrote:
> Replace MESH_WORK_GROW_MPATH_TABLE by MESH_WORK_GROW_MPP_TABLE in 
> mesh_mpp_table_grow call condition.

A changelog should explain "why" ... everybody can read "what" from the
patch already.

johannes


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] mac80211:mesh_mpp_table_grow call should depend on MESH_WORK_GROW_MPP_TABLE flag.
@ 2011-01-11 14:35 Nick Ledovskikh
  2011-01-11 12:59 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Ledovskikh @ 2011-01-11 14:35 UTC (permalink / raw)
  To: linville; +Cc: devel, devel, linux-wireless

Replace MESH_WORK_GROW_MPATH_TABLE by MESH_WORK_GROW_MPP_TABLE in 
mesh_mpp_table_grow call condition.

Signed-off-by: Nickolay Ledovskikh <nledovskikh@gmail.com>
---
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c
index ca3af46..2563fd1 100644
--- a/net/mac80211/mesh.c
+++ b/net/mac80211/mesh.c
@@ -645,7 +645,7 @@ void ieee80211_mesh_work(struct ieee80211_sub_if_data *sdata)
        if (test_and_clear_bit(MESH_WORK_GROW_MPATH_TABLE, &ifmsh->wrkq_flags))
                mesh_mpath_table_grow();
 
-       if (test_and_clear_bit(MESH_WORK_GROW_MPATH_TABLE, &ifmsh->wrkq_flags))
+       if (test_and_clear_bit(MESH_WORK_GROW_MPP_TABLE, &ifmsh->wrkq_flags))
                mesh_mpp_table_grow();
 
        if (test_and_clear_bit(MESH_WORK_HOUSEKEEPING, &ifmsh->wrkq_flags))

-- 
Best regards, Nickolay Ledovskikh.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-11 12:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-11 14:35 [PATCH] mac80211:mesh_mpp_table_grow call should depend on MESH_WORK_GROW_MPP_TABLE flag Nick Ledovskikh
2011-01-11 12:59 ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).