mac80211: adjust patches based on upstream feedback
[openwrt.git] / package / mac80211 / patches / 540-monitor_tx_status.patch
1 --- a/net/mac80211/main.c
2 +++ b/net/mac80211/main.c
3 @@ -587,6 +587,11 @@ void ieee80211_tx_status(struct ieee8021
4 if (!netif_running(sdata->dev))
5 continue;
6
7 + if ((sdata->u.mntr_flags & MONITOR_FLAG_COOK_FRAMES) &&
8 + !(info->flags & IEEE80211_TX_CTL_INJECTED) &&
9 + (type == IEEE80211_FTYPE_DATA))
10 + continue;
11 +
12 if (prev_dev) {
13 skb2 = skb_clone(skb, GFP_ATOMIC);
14 if (skb2) {
This page took 0.041326 seconds and 5 git commands to generate.