aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index beb8718d905e..c74a6a1935b3 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -587,6 +587,11 @@ void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb)
587 if (!netif_running(sdata->dev)) 587 if (!netif_running(sdata->dev))
588 continue; 588 continue;
589 589
590 if ((sdata->u.mntr_flags & MONITOR_FLAG_COOK_FRAMES) &&
591 !(info->flags & IEEE80211_TX_CTL_INJECTED) &&
592 (type == IEEE80211_FTYPE_DATA))
593 continue;
594
590 if (prev_dev) { 595 if (prev_dev) {
591 skb2 = skb_clone(skb, GFP_ATOMIC); 596 skb2 = skb_clone(skb, GFP_ATOMIC);
592 if (skb2) { 597 if (skb2) {