aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-11-11 05:15:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-11-11 05:15:41 +0000
commit57109ac50cd9c31e3dedad75f8a92407d4971df0 (patch)
tree33ce227dbb95add4dadd8d7b4431ad5df407785c
parent9a724ec84e675b6a625efa3eb9b1d906759c4aeb (diff)
downloadupstream-57109ac50cd9c31e3dedad75f8a92407d4971df0.tar.gz
upstream-57109ac50cd9c31e3dedad75f8a92407d4971df0.tar.bz2
upstream-57109ac50cd9c31e3dedad75f8a92407d4971df0.zip
mac80211: fix a bug in broadcast handling of wds sta interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18363 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/mac80211/patches/510-mac80211_4addr_vlan.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/mac80211/patches/510-mac80211_4addr_vlan.patch b/package/mac80211/patches/510-mac80211_4addr_vlan.patch
index ac92fe54b1..d3d1e82930 100644
--- a/package/mac80211/patches/510-mac80211_4addr_vlan.patch
+++ b/package/mac80211/patches/510-mac80211_4addr_vlan.patch
@@ -213,6 +213,15 @@
return ieee80211_data_to_8023(rx->skb, dev->dev_addr, sdata->vif.type);
}
+@@ -1285,7 +1292,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
@@ -1590,6 +1597,7 @@ ieee80211_rx_h_data(struct ieee80211_rx_
{
struct net_device *dev = rx->dev;