mac80211: fix sta lookup for received action frames on an AP VLAN
authorFelix Fietkau <nbd@openwrt.org>
Sun, 31 Jan 2010 20:50:12 +0000 (21:50 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 1 Feb 2010 20:40:08 +0000 (15:40 -0500)
commit4754ffd68bc14de8db01451c49bb07adebe1e422
tree4ca57be079cc9b46b66898e8a9f0966b83d06645
parente0b20f1c67fc4379fce430ff720969f35e123eed
mac80211: fix sta lookup for received action frames on an AP VLAN

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c