All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] allow AP interfaces to handle BACK action frames
@ 2008-10-08 23:18 Andrey Yurovsky
  2008-10-09  4:29 ` Kalle Valo
  2008-10-09  9:56 ` Johannes Berg
  0 siblings, 2 replies; 6+ messages in thread
From: Andrey Yurovsky @ 2008-10-08 23:18 UTC (permalink / raw)
  To: linux-wireless

Add AP mode to the allowed interface check in ieee80211_rx_h_action.  This
function handles BACK action frames such as ADDBA and AP interfaces need to
receive those.

Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 080b0ce..fe406f5 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -1553,7 +1553,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_AP)
 		return RX_CONTINUE;
 
 	switch (mgmt->u.action.category) {



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-10-10  9:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-08 23:18 [PATCH] allow AP interfaces to handle BACK action frames Andrey Yurovsky
2008-10-09  4:29 ` Kalle Valo
2008-10-09  9:56 ` Johannes Berg
2008-10-09 17:38   ` Andrey Yurovsky
2008-10-09 17:47     ` Andrey Yurovsky
2008-10-10  9:16     ` Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.