diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 34adc5288fbc..03635fb3e9b6 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -1531,7 +1531,8 @@ void __ieee80211_rx(struct ieee80211_hw *hw, struct sk_buff *skb, | |||
1531 | skb = rx.skb; | 1531 | skb = rx.skb; |
1532 | 1532 | ||
1533 | if (sta && !(sta->flags & (WLAN_STA_WDS | WLAN_STA_ASSOC_AP)) && | 1533 | if (sta && !(sta->flags & (WLAN_STA_WDS | WLAN_STA_ASSOC_AP)) && |
1534 | !local->iff_promiscs && !is_multicast_ether_addr(hdr->addr1)) { | 1534 | !atomic_read(&local->iff_promiscs) && |
1535 | !is_multicast_ether_addr(hdr->addr1)) { | ||
1535 | rx.flags |= IEEE80211_TXRXD_RXRA_MATCH; | 1536 | rx.flags |= IEEE80211_TXRXD_RXRA_MATCH; |
1536 | ieee80211_invoke_rx_handlers(local, local->rx_handlers, &rx, | 1537 | ieee80211_invoke_rx_handlers(local, local->rx_handlers, &rx, |
1537 | rx.sta); | 1538 | rx.sta); |