From: Johannes Berg <johannes@sipsolutions.net>
To: YanBo <dreamfly281@gmail.com>
Cc: "John W. Linville" <linville@tuxdriver.com>,
wireless <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH] mac80211: Enable mesh point handle action packet
Date: Thu, 18 Sep 2008 12:21:25 +0200 [thread overview]
Message-ID: <1221733285.9262.65.camel@johannes.berg> (raw)
In-Reply-To: <1197ff4c0809180309p7cd5c2b4y30db3799d91bdc6b@mail.gmail.com> (sfid-20080918_120952_649821_EB80D1B5)
[-- Attachment #1: Type: text/plain, Size: 886 bytes --]
On Thu, 2008-09-18 at 18:09 +0800, YanBo wrote:
> 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;
My mistake, but the fix would be to return RX_CONTINUE here, I'll send a
fix.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2008-09-18 10:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-18 10:09 [PATCH] mac80211: Enable mesh point handle action packet YanBo
2008-09-18 10:21 ` Johannes Berg [this message]
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=1221733285.9262.65.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=dreamfly281@gmail.com \
--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