build variants: only build opkg packages for the requested build variant (or any...
[openwrt-10.03/.git] / package / mac80211 / patches / 500-4addr_bcast_fix.patch
1 --- a/net/mac80211/rx.c
2 +++ b/net/mac80211/rx.c
3 @@ -1236,7 +1236,7 @@ ieee80211_deliver_skb(struct ieee80211_r
4         if ((sdata->vif.type == NL80211_IFTYPE_AP ||
5              sdata->vif.type == NL80211_IFTYPE_AP_VLAN) &&
6             !(sdata->flags & IEEE80211_SDATA_DONT_BRIDGE_PACKETS) &&
7 -           (rx->flags & IEEE80211_RX_RA_MATCH)) {
8 +           (rx->flags & IEEE80211_RX_RA_MATCH) && !rx->sdata->use_4addr) {
9                 if (is_multicast_ether_addr(ehdr->h_dest)) {
10                         /*
11                          * send multicast frames both to higher layers in