From 869c08cc59289321cd14f563d3e3f2a945438c79 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 31 Jan 2010 20:57:58 +0000 Subject: mac80211: fix aggregation setup on wds ap interfaces SVN-Revision: 19469 --- package/mac80211/patches/540-rx_mgmt_handling.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/mac80211/patches/540-rx_mgmt_handling.patch (limited to 'package/mac80211') 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); -- cgit v1.2.3