1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-01 21:48:26 +02:00
openwrt-xburst/package/mac80211/patches/540-rx_mgmt_handling.patch
nbd 9dfa009abb mac80211: fix aggregation setup on wds ap interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 20:57:58 +00:00

21 lines
560 B
Diff

--- 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);