aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-31 20:57:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-31 20:57:58 +0000
commit7d4b4311026e7b0270c10d42dbffe91146fb5657 (patch)
tree4a1babf9a28c9f3bd3de35d3fa62f733b9ebf217 /package
parentb641d3179700d6bcb0bdbbbeb9cfa7cd03258d57 (diff)
downloadmaster-187ad058-7d4b4311026e7b0270c10d42dbffe91146fb5657.tar.gz
master-187ad058-7d4b4311026e7b0270c10d42dbffe91146fb5657.tar.bz2
master-187ad058-7d4b4311026e7b0270c10d42dbffe91146fb5657.zip
mac80211: fix aggregation setup on wds ap interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19469 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/540-rx_mgmt_handling.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/mac80211/patches/540-rx_mgmt_handling.patch b/package/mac80211/patches/540-rx_mgmt_handling.patch
new file mode 100644
index 0000000000..799212572f
--- /dev/null
+++ b/package/mac80211/patches/540-rx_mgmt_handling.patch
@@ -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);