Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] mac80211: fix mesh action frame handling
@ 2008-09-18 10:24 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2008-09-18 10:24 UTC (permalink / raw)
  To: John Linville; +Cc: Li YanBo, linux-wireless

When I split off the action frame handling I made the code drop
all action frames we don't want to handle. This is wrong since
some action frames are actually handled via rx_h_mgmt through
being queued to the sta/mesh implementations.

Thanks to Li YanBo for noticing the problem.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Li YanBo <dreamfly281@gmail.com>
---
 net/mac80211/rx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- everything.orig/net/mac80211/rx.c	2008-09-18 12:21:47.000000000 +0200
+++ everything/net/mac80211/rx.c	2008-09-18 12:21:54.000000000 +0200
@@ -1534,7 +1534,7 @@ ieee80211_rx_h_action(struct ieee80211_r
 	 */
 	if (sdata->vif.type != NL80211_IFTYPE_STATION &&
 	    sdata->vif.type != NL80211_IFTYPE_ADHOC)
-		return RX_DROP_MONITOR;
+		return RX_CONTINUE;
 
 	switch (mgmt->u.action.category) {
 	case WLAN_CATEGORY_BACK:



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-18 10:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-18 10:24 [PATCH] mac80211: fix mesh action frame handling Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox