Message ID | 1369946087-11585-1-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 580704e..bed1b09 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -2950,6 +2950,9 @@ static int prepare_for_handlers(struct ieee80211_rx_data *rx, * and location updates. Note that mac80211 * itself never looks at these frames. */ + if (!multicast && + !ether_addr_equal(sdata->vif.addr, hdr->addr1)) + return 0; if (ieee80211_is_public_action(hdr, skb->len)) return 1; if (!ieee80211_is_beacon(hdr->frame_control))