mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-20 08:20:37 +02:00
13 lines
399 B
Diff
13 lines
399 B
Diff
|
--- a/net/mac80211/rx.c
|
||
|
+++ b/net/mac80211/rx.c
|
||
|
@@ -2609,7 +2609,8 @@ static int prepare_for_handlers(struct i
|
||
|
return 0;
|
||
|
if (!multicast &&
|
||
|
compare_ether_addr(sdata->vif.addr, hdr->addr1) != 0) {
|
||
|
- if (!(sdata->dev->flags & IFF_PROMISC))
|
||
|
+ if (!(sdata->dev->flags & IFF_PROMISC) ||
|
||
|
+ sdata->u.mgd.use_4addr)
|
||
|
return 0;
|
||
|
status->rx_flags &= ~IEEE80211_RX_RA_MATCH;
|
||
|
}
|