* [PATCH] mac80211: fix sta lookup for received action frames on an AP VLAN
@ 2010-01-31 20:50 Felix Fietkau
0 siblings, 0 replies; only message in thread
From: Felix Fietkau @ 2010-01-31 20:50 UTC (permalink / raw)
To: linux-wireless; +Cc: Johannes Berg, John W. Linville
When looking for a matching interface, __ieee80211_rx_handle_packet
loops over all active interfaces, looking for matching stations.
Because AP VLAN interfaces are not processed as part of this loop, it
needs to use sta_info_get_bss instead of sta_info_get in order to find
a STA that has been moved to a VLAN.
This fixes issues with aggregation setup/teardown.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
---
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -2359,7 +2359,7 @@ static void __ieee80211_rx_handle_packet
continue;
}
- rx.sta = sta_info_get(prev, hdr->addr2);
+ rx.sta = sta_info_get_bss(prev, hdr->addr2);
rx.flags |= IEEE80211_RX_RA_MATCH;
prepares = prepare_for_handlers(prev, &rx, hdr);
@@ -2395,7 +2395,7 @@ next:
}
if (prev) {
- rx.sta = sta_info_get(prev, hdr->addr2);
+ rx.sta = sta_info_get_bss(prev, hdr->addr2);
rx.flags |= IEEE80211_RX_RA_MATCH;
prepares = prepare_for_handlers(prev, &rx, hdr);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-31 20:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-31 20:50 [PATCH] mac80211: fix sta lookup for received action frames on an AP VLAN Felix Fietkau
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.