mac80211: fix aggregation setup on wds ap interfaces

SVN-Revision: 19469
lede-17.01
Felix Fietkau 2010-01-31 20:57:58 +00:00
parent db808eaef4
commit 869c08cc59
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
--- 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);