linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nick Ledovskikh <nledovskikh@kodofon.vrn.ru>
To: linville@tuxdriver.com
Cc: devel@lists.open80211s.org, devel@lists.open80211s.org,
	linux-wireless@vger.kernel.org
Subject: [PATCH] mac80211:mesh_mpp_table_grow call should depend on MESH_WORK_GROW_MPP_TABLE flag.
Date: Tue, 11 Jan 2011 14:35:12 +0000	[thread overview]
Message-ID: <20110111143512.8161042b.nledovskikh@kodofon.vrn.ru> (raw)

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.

             reply	other threads:[~2011-01-11 12:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-11 14:35 Nick Ledovskikh [this message]
2011-01-11 12:59 ` [PATCH] mac80211:mesh_mpp_table_grow call should depend on MESH_WORK_GROW_MPP_TABLE flag Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110111143512.8161042b.nledovskikh@kodofon.vrn.ru \
    --to=nledovskikh@kodofon.vrn.ru \
    --cc=devel@lists.open80211s.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=nledovskikh@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).