Linux wireless drivers development
 help / color / mirror / Atom feed
From: YanBo <dreamfly281@gmail.com>
To: "Johannes Berg" <johannes@sipsolutions.net>,
	"John W. Linville" <linville@tuxdriver.com>
Cc: LiYanbo <dreamfly281@gmail.com>,
	wireless <linux-wireless@vger.kernel.org>
Subject: [PATCH] mac80211: Enable mesh point handle action packet
Date: Thu, 18 Sep 2008 18:09:49 +0800	[thread overview]
Message-ID: <1197ff4c0809180309p7cd5c2b4y30db3799d91bdc6b@mail.gmail.com> (raw)

This patch enable vif in mesh_point mode can handle the action packet.

Signed-off-by: Li YanBo <dreamfly281@gmail.com>
---
net/mac80211/rx.c |    3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 92d898b..763c7ea 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -1537,7 +1537,8 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx)
 	 *	  of these frames in other modes as well!
 	 */
 	if (sdata->vif.type != NL80211_IFTYPE_STATION &&
-	    sdata->vif.type != NL80211_IFTYPE_ADHOC)
+	    sdata->vif.type != NL80211_IFTYPE_ADHOC &&
+ 	    sdata->vif.type != NL80211_IFTYPE_MESH_POINT)
 		return RX_DROP_MONITOR;

 	switch (mgmt->u.action.category) {

             reply	other threads:[~2008-09-18 10:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-18 10:09 YanBo [this message]
2008-09-18 10:21 ` [PATCH] mac80211: Enable mesh point handle action packet 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=1197ff4c0809180309p7cd5c2b4y30db3799d91bdc6b@mail.gmail.com \
    --to=dreamfly281@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.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