aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/500-4addr_bcast_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-11-14 02:35:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-11-14 02:35:04 +0000
commitbb572e08f8346d1a1665dd15030576b10fb385cd (patch)
tree6a674f61f97c7b05d1a6d81e7491fb4130e5cea7 /package/mac80211/patches/500-4addr_bcast_fix.patch
parenteaf1d61e6d76cc19aeaee5b31833f6e844264e0b (diff)
downloadupstream-bb572e08f8346d1a1665dd15030576b10fb385cd.tar.gz
upstream-bb572e08f8346d1a1665dd15030576b10fb385cd.tar.bz2
upstream-bb572e08f8346d1a1665dd15030576b10fb385cd.zip
mac80211: update to 2009-11-13 and add some of my new performance improvement patches. fixes excessive cpu usage of hostapd in ap mode, should also fix the ath9k memleak
SVN-Revision: 18415
Diffstat (limited to 'package/mac80211/patches/500-4addr_bcast_fix.patch')
-rw-r--r--package/mac80211/patches/500-4addr_bcast_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/500-4addr_bcast_fix.patch b/package/mac80211/patches/500-4addr_bcast_fix.patch
new file mode 100644
index 0000000000..3143aaf8f9
--- /dev/null
+++ b/package/mac80211/patches/500-4addr_bcast_fix.patch
@@ -0,0 +1,11 @@
+--- a/net/mac80211/rx.c
++++ b/net/mac80211/rx.c
+@@ -1236,7 +1236,7 @@ ieee80211_deliver_skb(struct ieee80211_r
+ if ((sdata->vif.type == NL80211_IFTYPE_AP ||
+ sdata->vif.type == NL80211_IFTYPE_AP_VLAN) &&
+ !(sdata->flags & IEEE80211_SDATA_DONT_BRIDGE_PACKETS) &&
+- (rx->flags & IEEE80211_RX_RA_MATCH)) {
++ (rx->flags & IEEE80211_RX_RA_MATCH) && !rx->sdata->use_4addr) {
+ if (is_multicast_ether_addr(ehdr->h_dest)) {
+ /*
+ * send multicast frames both to higher layers in