* [PATCH] mac80211: Enable mesh point handle action packet
@ 2008-09-18 10:09 YanBo
2008-09-18 10:21 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: YanBo @ 2008-09-18 10:09 UTC (permalink / raw)
To: Johannes Berg, John W. Linville; +Cc: LiYanbo, wireless
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) {
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] mac80211: Enable mesh point handle action packet
2008-09-18 10:09 [PATCH] mac80211: Enable mesh point handle action packet YanBo
@ 2008-09-18 10:21 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2008-09-18 10:21 UTC (permalink / raw)
To: YanBo; +Cc: John W. Linville, wireless
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-18 10:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-18 10:09 [PATCH] mac80211: Enable mesh point handle action packet YanBo
2008-09-18 10:21 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox